home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 1.iso / util / edithelp.zip / EDITHELP.EDH < prev    next >
Text File  |  1995-03-10  |  115KB  |  6,847 lines

  1. Version 0121
  2. Edit Help
  3. true
  4.  
  5. 205
  6. 0
  7. 9
  8. 0
  9. 30
  10. 0
  11. 0
  12. 20
  13. 0
  14. 1
  15. 0
  16. 0
  17. MyWindow="My Window",(0,0,500,500,0),,(255,255,0),,1
  18.  
  19. EditHelp is copyright ⌐ Peter Balch 1994
  20. sample.ico
  21. 2241
  22. File|Open HLP
  23. File|Open HLP
  24. Open HLP
  25. HLP files
  26.  
  27.  
  28. 1
  29.  
  30. 0
  31.  
  32.  
  33. Topic Text -----------------------------
  34. The File|Open HLP command reads an existing HLP file and converts it into
  35. the source format used by EditHelp.
  36.  
  37. The Open HLP command does not neccessarily create an EditHelp source which 
  38. can be {link=111,re-compiled} to give exactly the same HLP file - but it should be
  39. close.
  40.  
  41. If you have already developed Help files using other tools, you can 
  42. use the Open HLP command to convert them into EditHelp format.
  43.  
  44. If the source file name is 
  45.  
  46.       program.hlp
  47.  
  48. then the new source file will be
  49.  
  50.       program.edh
  51.  
  52. The topics are numbered sequentially from 1.
  53.  
  54. See also\
  55.    {link=200,File|New}\
  56.    {link=201,File|Open}\
  57.    {link=202,File|Save}\
  58.    {link=203,File|Save As}\
  59.    {link=258,File|Project|New}\
  60.    {link=2237,File|Project|Open}\
  61.    {link=259,File|Project|Save}\
  62.    {link=260,File|Project|SaveAs}\
  63.    {link=2238,File|Project|Files}\
  64.    {link=2239,File|Project|Move Topic}\
  65.    {link=210,File|Save As TXT}\
  66.    {link=246,File|Save As RTF}\
  67.    {link=2229,File|Save As WWW}\
  68.    {link=401,File|WWW Mode}\
  69.    {link=2217,File|Open EXE}\
  70.    {link=204,File|Exit}
  71.  
  72.  
  73.  
  74.  
  75. \end
  76. 2240
  77. Topic|Entry Command
  78. Topic|Entry Command
  79. Entry Command
  80.  
  81.  
  82. 0
  83.  
  84. 0
  85.  
  86. PopupId(qchPath,"PG117")
  87. Topic Text -----------------------------
  88. If the Entry Command string is set to a Help Macro command, then the command
  89. will be exectuted when the topic is displayed in the main or {link=2230,secondary} Help window.
  90.  
  91. Entry Commands are not run if the topic is displayed in a {link=116,Popup}.
  92.  
  93. Multiple commands can be separated by semicolons '{bold};{bold}'.
  94.  
  95. The command may be any {link=2225,Help Macro}. You can call a DLL by 
  96. executing the RegisterRoutine macro then calling the routine, for instance:
  97.  
  98.     {bold}{{}link=!RegisterRoutine("sample.dll","FUNC1","i"); FUNC1(1234)!,Call a DLL} 
  99.  
  100. This topic has its Entry Command string set to:
  101.  
  102.     {bold}PopupId(qchPath,"PG117")
  103.  
  104. which displays topic 117 as a {link=116,popup} whenever the topic is displayed. 
  105. The {bold}qchPath{bold} {link=252,Predefined Variable} passes the name of the current {link=107,help file}
  106. to the {link=2225,Help Macro}.
  107.  
  108. See also\
  109.    {link=214,Topic|Next topic}\
  110.    {link=215,Topic|Prev topic}\
  111.    {link=227,Topic|Back}\
  112.    {link=216,Topic|New topic}\
  113.    {link=2202,Topic|Goto}\
  114.    {link=228,Topic|Goto Unfinished}\
  115.    {link=218,Topic|Delete}\
  116.    {link=2201,Topic|Caption}\
  117.    {link=220,Topic|Contents}\
  118.    {link=2228,Topic|Browse}\
  119.    {link=221,Topic|Status}\
  120.    {link=253,Topic|Preview}\
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131. \end
  132. 262
  133. Internal Compiler
  134. Internal Compiler
  135. Compile
  136.  
  137.  
  138. 2
  139.  
  140. 0
  141.  
  142.  
  143. Topic Text -----------------------------
  144. The Internal Help Compiler converts the current {link=107,source} into a {link=107,Help file.} 
  145.  
  146. It is recommended that you use the {link=222,HelpFile|Make} command 
  147. which call an external {link=111,Help Compiler} such as Microsoft's
  148. HC31. You may already have HC31.EXE on your computer. 
  149.  
  150. The internal Help Compiler is quicker and more convenient than HC31.EXE
  151. but the it is still under development. 
  152. Microsoft do not publish the specification of HLP files so the internal compiler is
  153. "experimental". (Please report any bugs to Analogue Information Systems.)
  154.  
  155. Whether the External or Internal Compiler is used can be selected via the {link=2204,HelpFile|Directories}
  156. dialog.
  157.  
  158. The internal Compiler does not support the following features:
  159.  
  160.     {link=251,Literal}\
  161.  
  162.  
  163.  
  164. \end
  165. 261
  166. ALIAS.EPJ
  167. ALIAS.EPJ
  168. EPJ
  169.  
  170.  
  171. 0
  172.  
  173. 0
  174.  
  175.  
  176. Topic Text -----------------------------
  177. Each topic must have a unique {link=105,Topic number.} 
  178. The number is used when the host program  
  179. calls the help system to display a help topic. 
  180.  
  181. If you have written a program which must use context strings rather than context
  182. numbers, you can use the ALIAS.EPJ file to add an [ALIAS] 
  183. section to the {link=243,Help Project File.}
  184.  
  185. The [ALIAS] section assigns one or more context strings to the same topic. 
  186. Normally, the [ALIAS] section of the {link=243,Help Project File} is empty.
  187. If the file
  188.  
  189.     alias.epj
  190.  
  191. exists in the same directory as the EditHelp {link=107,source file}, then the text
  192. of ALIAS.EPJ will be copied to the [ALIAS] section of the Help Project file.
  193.  
  194. The ALIAS.EPJ file should contain one or more lines with the format:
  195.  
  196.     {bold}context_string = alias 
  197.  
  198. Where:
  199.  
  200.     {list=15}{bold}context_string    {bold}Specifies the context string that identifies a particular 
  201. within the HLP file topic. 
  202.  
  203.     {bold}alias    {bold}Specifies the alternative string or alias name. 
  204.  
  205. {list=0}An alias string is not case-sensitive and may 
  206. contain the alphabetic characters A through Z, the numeric characters 0 
  207. through 9, and the period and underscore characters. 
  208.  
  209. The context string used within the HLP file is the {link=105,Topic number} 
  210. preceded by 'PG'. For instance, if the topic number is 261 then
  211. the context string is
  212.  
  213.     {bold}PG261
  214.  
  215. So if your program displays topic 261 with the context string 'Shortcuts'
  216. then ALIAS.EPJ should contain the line
  217.  
  218.     {bold}PG261 = Shortcuts
  219.  
  220.  
  221. See also\
  222.     {link=106,topics}\
  223.     {link=105,Topic number}\
  224.     {link=243,Help Project File}\
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239. \end
  240. 260
  241. File|Save Project As
  242. File|Save Project As
  243. Save Project As
  244. Project
  245.  
  246.  
  247. 0
  248.  
  249. 0
  250.  
  251.  
  252. Topic Text -----------------------------
  253. The File|Save Project As command saves the current {link=257,Project} to a new file. 
  254. The Save Project As dialog allows you to choose the name of the file.
  255.  
  256. {link=107,Project files} have the extension '.EHP'.
  257.  
  258. If any on the {link=107,source files} in the {link=257,Project} have been changed, you will be given the 
  259. opportunity to save them.
  260.  
  261. See also\
  262.    {link=200,File|New}\
  263.    {link=201,File|Open}\
  264.    {link=202,File|Save}\
  265.    {link=203,File|Save As}\
  266.    {link=258,File|Project|New}\
  267.    {link=2237,File|Project|Open}\
  268.    {link=259,File|Project|Save}\
  269.    {link=2238,File|Project|Files}\
  270.    {link=2239,File|Project|Move Topic}\
  271.    {link=210,File|Save As TXT}\
  272.    {link=246,File|Save As RTF}\
  273.    {link=2229,File|Save As WWW}\
  274.    {link=2217,File|Open EXE}\
  275.    {link=401,File|WWW Mode}\
  276.    {link=204,File|Exit}
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302. \end
  303. 259
  304. File|Save Project
  305. File|Save Project
  306. Save Project
  307. Project
  308.  
  309.  
  310. 0
  311.  
  312. 0
  313.  
  314.  
  315. Topic Text -----------------------------
  316. The File|Save Project command saves the current {link=257,Project.} 
  317. If the current {link=257,Project} is unnamed, you will be asked to choose the name of the file.
  318.  
  319. {link=107,Project files} have the extension '.EHP'.
  320.  
  321. All of the {link=107,source files} in the {link=257,Project} will also be saved.
  322.  
  323. See also\
  324.    {link=200,File|New}\
  325.    {link=201,File|Open}\
  326.    {link=202,File|Save}\
  327.    {link=203,File|Save As}\
  328.    {link=258,File|Project|New}\
  329.    {link=2237,File|Project|Open}\
  330.    {link=260,File|Project|SaveAs}\
  331.    {link=2238,File|Project|Files}\
  332.    {link=2239,File|Project|Move Topic}\
  333.    {link=210,File|Save As TXT}\
  334.    {link=246,File|Save As RTF}\
  335.    {link=2229,File|Save As WWW}\
  336.    {link=2217,File|Open EXE}\
  337.    {link=401,File|WWW Mode}\
  338.    {link=204,File|Exit}
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353. \end
  354. 258
  355. File|New Project
  356. File|New Project
  357. New Project
  358. Project
  359.  
  360.  
  361. 0
  362.  
  363. 0
  364.  
  365.  
  366. Topic Text -----------------------------
  367. The File|New Project command starts a new {link=257,Project.} 
  368.  
  369. A "Project" consists of a {link=107,Project file} and a set of {link=107,source files.}
  370.  
  371. To create a new project, open a {link=107,source file}, then select the {link=258,File|New Project}
  372. command. The {link=107,source file} will be the first file in the new project. 
  373.  
  374. You can then use the {link=2238,File|Project Files} command to add or remove other source files.
  375.  
  376. See also\
  377.    {link=200,File|New}\
  378.    {link=201,File|Open}\
  379.    {link=202,File|Save}\
  380.    {link=203,File|Save As}\
  381.    {link=2237,File|Project|Open}\
  382.    {link=259,File|Project|Save}\
  383.    {link=260,File|Project|SaveAs}\
  384.    {link=2238,File|Project|Files}\
  385.    {link=2239,File|Project|Move Topic}\
  386.    {link=210,File|Save As TXT}\
  387.    {link=246,File|Save As RTF}\
  388.    {link=2229,File|Save As WWW}\
  389.    {link=2217,File|Open EXE}\
  390.    {link=401,File|WWW Mode}\
  391.    {link=204,File|Exit}
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406. \end
  407. 257
  408. Projects
  409. Project
  410.  
  411.  
  412. 0
  413.  
  414. 0
  415.  
  416.  
  417. Topic Text -----------------------------
  418. A "Project" consists of a {link=107,Project file} and a set of {link=107,source files.}
  419.  
  420. When the {link=222,HelpFile|Make} command is executed, all of the {link=107,source files} are
  421. linked together to form a single {link=107,Help file.}
  422.  
  423. For small Help files, you will not need to use Projects. Use a Project when you want several 
  424. source files to be shared by several Help files: perhaps when you have different versions of
  425. a program with different combinations of features.
  426.  
  427. To create a new project, open a {link=107,source file}, then select the {link=258,File|New Project}
  428. command. The {link=107,source file} will be the first file in the new project. 
  429.  
  430. You can then use the {link=2238,File|Project Files} command to add or remove other source files.
  431. You may not have a Project which contains no {link=107,source files} nor include the same
  432. {link=107,source file} twice.
  433.  
  434. The {link=107,source file} which the current {link=106,Topic} belongs to is shown at the bottom
  435. of the main window.
  436.  
  437. You can move {link=106,Topics} from one Project source file to another with the 
  438. {link=2239,File|Move Topic} command. You may not move all the topics out of a source
  439. file; it is illegal to have a source file with no {link=106,Topics.}
  440.  
  441. Save your project with the {link=259,File|Save Project} or {link=260,File|Save Project As}
  442. command. You may open it again later with the {link=2237,File|Open Project} command.
  443.  
  444. Some of EditHelp options refer to individual {link=106,Topics} while some refer to the whole
  445. {link=107,Help file.} When you open a {link=107,Project file}, the {link=107,Help file} options are read
  446. from that file. If you add other {link=107,source files} to the project, the {link=107,Help file} options 
  447. in them are ignored. 
  448.  
  449. If you are working with a Project, then when you save a {link=107,source file}, the 
  450. {link=107,Help file} options of the Project are saved with it.
  451.  
  452. The options which refer to the whole {link=107,Help file} include:
  453.  
  454.     {link=2203,Title}\
  455.     {link=226,Compress flag}\
  456.     {link=2204,Directories}\
  457.     {link=2218,Font list}\
  458.     {link=2235,Default fonts, sizes, etc.}\
  459.     {link=2230,Secondary Window list}\
  460.     {link=2226,Copyright notice}\
  461.     {link=2227,Icon}\
  462.  
  463. The options which refer to an individual {link=106,Topic} include:
  464.  
  465.     {link=2201,Caption}\
  466.     {link=2201,Topic number}\
  467.     {link=2201,Keywords}\
  468.     {link=220,Contents flag}\
  469.     {link=221,Status}\
  470.     {link=2228,Browse number}\
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485. \end
  486. 2239
  487. File|Move Topic
  488. File|Move Topic
  489. Move Topic
  490. Project
  491.  
  492.  
  493. 0
  494.  
  495. 0
  496.  
  497.  
  498. Topic Text -----------------------------
  499. The File|Move Topic command moves the current {link=106,Topic} to a
  500. different {link=107,source file} within the {link=257,Project.}
  501.  
  502. The {link=107,source file} which the current {link=106,Topic} belongs to is shown at the bottom
  503. of the main window.
  504.  
  505. You may not move all the topics out of a source
  506. file; it is illegal to have a source file with no {link=106,Topics.}
  507.  
  508. See also\
  509.    {link=200,File|New}\
  510.    {link=201,File|Open}\
  511.    {link=202,File|Save}\
  512.    {link=203,File|Save As}\
  513.    {link=258,File|Project|New}\
  514.    {link=2237,File|Project|Open}\
  515.    {link=259,File|Project|Save}\
  516.    {link=260,File|Project|SaveAs}\
  517.    {link=2238,File|Project|Files}\
  518.    {link=210,File|Save As TXT}\
  519.    {link=246,File|Save As RTF}\
  520.    {link=2229,File|Save As WWW}\
  521.    {link=2217,File|Open EXE}\
  522.    {link=401,File|WWW Mode}\
  523.    {link=204,File|Exit}
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538. \end
  539. 2238
  540. File|Project Files
  541. File|Project Files
  542. Project Files
  543. Project
  544.  
  545.  
  546. 0
  547.  
  548. 0
  549.  
  550.  
  551. Topic Text -----------------------------
  552. The Project Files command allows the user to add or remove {link=107,help source files} 
  553. from the current Project file.
  554.  
  555. The Add button opens an existing {link=107,help source file} that was created 
  556. using EditHelp and adds it to the list of files in the current Project. 
  557.  
  558. The added file may contain {link=106,topics} with {link=105,numbers} which duplicate 
  559. topic numbers in the current files. If so,you are given the opportunity to renumber 
  560. the new topics either by hand or automatically (to arbitrary unique values).
  561.  
  562. See also\
  563.    {link=200,File|New}\
  564.    {link=201,File|Open}\
  565.    {link=202,File|Save}\
  566.    {link=203,File|Save As}\
  567.    {link=258,File|Project|New}\
  568.    {link=2237,File|Project|Open}\
  569.    {link=259,File|Project|Save}\
  570.    {link=260,File|Project|SaveAs}\
  571.    {link=2239,File|Project|Move Topic}\
  572.    {link=210,File|Save As TXT}\
  573.    {link=246,File|Save As RTF}\
  574.    {link=2229,File|Save As WWW}\
  575.    {link=2217,File|Open EXE}\
  576.    {link=401,File|WWW Mode}\
  577.    {link=204,File|Exit}
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598. \end
  599. 2237
  600. File|Open Project
  601. File|Open Project
  602. Open Project
  603. Project
  604.  
  605.  
  606. 0
  607.  
  608. 0
  609.  
  610.  
  611. Topic Text -----------------------------
  612. The Open Project command opens an existing Project file that was created 
  613. using EditHelp. Project files 
  614. have the extension '.EHP'.
  615.  
  616. The {link=107,help source files} specified by the Project file will also be opened.
  617.  
  618. See also\
  619.    {link=200,File|New}\
  620.    {link=201,File|Open}\
  621.    {link=202,File|Save}\
  622.    {link=203,File|Save As}\
  623.    {link=258,File|Project|New}\
  624.    {link=259,File|Project|Save}\
  625.    {link=260,File|Project|SaveAs}\
  626.    {link=2238,File|Project|Files}\
  627.    {link=2239,File|Project|Move Topic}\
  628.    {link=210,File|Save As TXT}\
  629.    {link=246,File|Save As RTF}\
  630.    {link=2229,File|Save As WWW}\
  631.    {link=2217,File|Open EXE}\
  632.    {link=401,File|WWW Mode}\
  633.    {link=204,File|Exit}
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659. \end
  660. 255
  661. Bulleted List
  662. Bulleted List
  663. List
  664.  
  665.  
  666. 0
  667.  
  668. 0
  669.  
  670.  
  671. Topic Text -----------------------------
  672. A List {link=115,command} specifies that the following text should be shown 
  673. as a bulleted list:
  674.  
  675.     {{}list}
  676.  
  677. The following paragraphs are indented and each is preceded by a 
  678. '-' character. The List is terminated by:
  679.  
  680.     {{}list=0}
  681.  
  682. For instance:
  683.  
  684.     {{}list}a Bulleted List command specifies that the following text \
  685.     should be shown in list format
  686.  
  687.     each paragraph is preceded by a bullet
  688.  
  689.     in a Definition List, each paragraph is divided into two columns separated by \
  690.     'n' character widths.
  691.     The first column shows the list item name, while the second \
  692.     shows the item text
  693.  
  694.     {{}list=0}
  695.  
  696. is displayed as:
  697.  
  698.     {list}a Bulleted List command specifies that the following text 
  699.     should be shown in list format
  700.  
  701.     each paragraph is preceded by a bullet
  702.  
  703.     in a Definition List, each paragraph is divided into two columns separated by 
  704.     'n' character widths.
  705.     The first column shows the list item name, while the second 
  706.     shows the item text
  707.  
  708. {list=0}The List command may only appear at the start of a {link=114,paragraph}; 
  709. it may be {link=114,indented.} 
  710.  
  711. See also\
  712.     {link=254,Definition List}\
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727. \end
  728. 254
  729. Definition List
  730. Definition List
  731. List
  732.  
  733.  
  734. 0
  735.  
  736. 0
  737.  
  738.  
  739. Topic Text -----------------------------
  740. A List=... {link=115,command} specifies that the following text should be shown 
  741. as a Definition list:
  742.  
  743.     {{}list=n}
  744.  
  745. where n is a non-zero number. 
  746.  
  747. Each of the following paragraphs is divided into two columns separated by 'n'
  748. character widths. The first column shows
  749. the list item name, while the second shows the item text. The columns are separated by 
  750. a {link=2236,Tab} character. 
  751.  
  752. The List is terminated by:
  753.  
  754.     {{}list=0}
  755.  
  756. For instance:
  757.  
  758.     {{}list=13}{{}bold}Key<tab>Function
  759.  
  760.     F1<tab>Calls the help system
  761.  
  762.     Alt<tab>Selects the menu
  763.  
  764.     {{}list=0}
  765.  
  766. {list=0}
  767. (where <tab> is a Tab character). This is displayed as:
  768.  
  769.     {list=13}{bold}Key    Function
  770.  
  771.     F1    Calls the help system
  772.  
  773.     Alt    Selects the menu
  774.  
  775. {list=0}The List command may only appear at the start of a {link=114,paragraph}; 
  776. it may be {link=114,indented.} If the item text is forced to
  777. wrap, it will be aligned under the item text column.
  778.  
  779. {list=0}See also\
  780.     {link=255,Bulleted List}\
  781.     {link=240,Line command}\
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796. \end
  797. 2235
  798. Text|Defaults
  799. Text|Defaults
  800. Defaults
  801.  
  802.  
  803. 0
  804.  
  805. 0
  806.  
  807.  
  808. Topic Text -----------------------------
  809. The Default Text command sets the default {link=2218,Font}, 
  810. {link=2221,Size} and {link=2222,Colour} of the 
  811. {link=108,Caption} and text of the {link=106,Topic.}
  812.  
  813. If no default is specified, the text will be displayed as follows:
  814.  
  815.     {list=12}{line}{bold}Property    Default\
  816.     Text font    0 (Arial}\
  817.     Text colour    0 (black}\
  818.     Text size    20 points\
  819.     Caption font    0 (Arial}\
  820.     Caption colour    0 (black}\
  821.     Caption size    40 points\
  822.  
  823. See also\
  824.     {link=2218,Text|Font Command}\
  825.     {link=2221,Text|Size Command}\
  826.     {link=231,Text|Bold Command}\
  827.     {link=232,Text|Italic Command}\
  828.     {link=2222,Text|Colour Command}\
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843. \end
  844. 253
  845. Topic|Preview
  846. Topic|Preview
  847. Preview
  848.  
  849.  
  850. 0
  851.  
  852. 0
  853.  
  854.  
  855. Topic Text -----------------------------
  856. The Preview command shows the {link=106,Topic} as it will be displayed by Windows Help.
  857.  
  858. Certain features cannnot be displayed, such as {link=2233,Embedded Panes},
  859. {link=251,Literal} text and {link=244,Segmented Graphics Files.}
  860.  
  861. The layout of the text and graphics may be a few pixels different from that displayed by 
  862. Windows Help. The {link=109,HelpFile|Make This Topic} and
  863. {link=223,HelpFile|Test} commands will use Windows Help to display the topic.
  864.  
  865. See also\
  866.    {link=214,Topic|Next topic}\
  867.    {link=215,Topic|Prev topic}\
  868.    {link=227,Topic|Back}\
  869.    {link=216,Topic|New topic}\
  870.    {link=2202,Topic|Goto}\
  871.    {link=228,Topic|Goto Unfinished}\
  872.    {link=218,Topic|Delete}\
  873.    {link=2201,Topic|Caption}\
  874.    {link=220,Topic|Contents}\
  875.    {link=2228,Topic|Browse}\
  876.    {link=221,Topic|Status}\
  877.    {link=2240,Topic|Entry Command}\
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888. \end
  889. 2234
  890. Edit|DLL Call
  891. Edit|DLL
  892. DLL
  893.  
  894.  
  895. 0
  896.  
  897. 0
  898.  
  899.  
  900. Topic Text -----------------------------
  901. A hotspot which calls a DLL 
  902. is specified in the source text by the DLL {link=115,command}:  
  903.  
  904.     {{}dll=<dllname>,<funccall>,<text>)
  905.  
  906. where <dllname> is the name of the DLL file, 
  907. <funccall> is a call to a function exported by the DLL and
  908. <text> is the hotspot text to be displayed.
  909.  
  910. The <funccall> string has the following format:
  911.  
  912.     <funcname>(<parameter>,<parameter>, ... )
  913.  
  914. <funcname> is the name of the function and each parameter has the format:
  915.  
  916.     <kind>:<value>
  917.  
  918. <kind> is a single character which represents the following <value> types:
  919.  
  920.       {list=10}{line}{bold}Character    Description\
  921.       u    unsigned short (WORD,word) \
  922.       U    unsigned long  (DWORD,longint) \
  923.       i    int (INT,integer)\
  924.       I    long (LONG,longint)\
  925.       s    near char * (PSTR) \
  926.       S    far char * (LPSTR,^string) \
  927.       v    void \
  928.  
  929. {list=0}Windows Help makes sure the <value> part of the parameter
  930. matches the <kind>.
  931.  
  932. For instance,
  933.  
  934.     {{}dll=sample.dll,FUNC1(i:1234),Call a DLL} 
  935.  
  936. specifies that the function FUNC1 is exported by the DLL sample.dll. 
  937. It has a single Integer parameter which should be passed the value 1234.
  938. The command is displayed as:
  939.  
  940.     {dll=sample.dll,FUNC1(i:1234),Call a DLL} 
  941.  
  942. A DLL can also be specified in a {link=2219,Bitmap Link.} For instance:
  943.  
  944.     {{}dll=sample.dll,FUNC1(i:5678),bmp=sample1.bmp}
  945.  
  946. which is displayed as:
  947.  
  948.     {dll=sample.dll,FUNC1(i:5678),bmp=sample1.bmp}
  949.  
  950. The DLL filename should not contain any path information. The DLL file should be in
  951. the same directory as the EDH {link=107,source file.}
  952.  
  953. Windows Help allows certain {link=252,Predefined Variables} as parameter values.
  954.  
  955. See also\
  956.    {link=205,Edit|Undo}\
  957.    {link=206,Edit|Cut}\
  958.    {link=207,Edit|Copy}\
  959.    {link=208,Edit|Paste}\
  960.    {link=209,Edit|Delete}\
  961.    {link=2207,Edit|Link}\
  962.    {link=2215,Edit|Popup}\
  963.    {link=2214,Edit|Bitmap}\
  964.    {link=2233,Edit|Embedded Pane}\
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979. \end
  980. 2233
  981. Edit|Embedded Pane
  982. Edit|Embedded Pane
  983. Embedded Pane
  984.  
  985.  
  986. 2
  987.  
  988. 0
  989.  
  990.  
  991. Topic Text -----------------------------
  992. An Embedded Pane
  993. is specified in the source text by the Embed {link=115,command}:  
  994.  
  995.     {{}embed=<dllname>,<windowClass>,<text>)
  996.  
  997. where <dllname> is the name of the DLL file, 
  998. <windowClass> is the name of a Window Class registered by the DLL and
  999. <text> is the "author data" passed to the DLL during window creation.
  1000.  
  1001. For instance,
  1002.  
  1003.     {{}embed=test.dll,TestWnd,2)
  1004.  
  1005. specifies that the code for an embedded pane will be found in the DLL test.dll. 
  1006. Windows Help should display a window of class "TestWnd" and pass it the string
  1007. "2".
  1008.  
  1009. The DLL filename should not contain any path information. The DLL file should be in
  1010. the same directory as the EDH {link=107,source file.}
  1011.  
  1012. Embedded panes can display custom information controlled by a DLL. For instance,
  1013. an embedded pane can show animation or play sound files.
  1014. The code for embedded panes is described in
  1015.  
  1016.     Microsoft Multimedia Viewer: Technical Reference\
  1017.     MM39685-0393
  1018.  
  1019. The embed command can take two other forms:
  1020.  
  1021.     {{}embed=left,test.dll,TestWnd,2)\
  1022.     {{}embed=right,test.dll,TestWnd,2)
  1023.  
  1024. An {{}embed=left,...} command means the paragraph text is wrapped to the right of the embedded pane.
  1025. An {{}embed=right,...} command means the text is wrapped to the left of the pane.
  1026.  
  1027. See also\
  1028.    {link=205,Edit|Undo}\
  1029.    {link=206,Edit|Cut}\
  1030.    {link=207,Edit|Copy}\
  1031.    {link=208,Edit|Paste}\
  1032.    {link=209,Edit|Delete}\
  1033.    {link=2207,Edit|Link}\
  1034.    {link=2215,Edit|Popup}\
  1035.    {link=2214,Edit|Bitmap}\
  1036.    {link=2234,Edit|DLL Call}\
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043. \end
  1044. 2232
  1045. Shareware
  1046. shareware
  1047. registration
  1048. unregistered
  1049.  
  1050.  
  1051. 0
  1052.  
  1053. 0
  1054.  
  1055.  
  1056. Topic Text -----------------------------
  1057. If this is an unregistered version of EditHelp then certain features will have been disabled.
  1058.  
  1059. EditHelp is Shareware, please copy and distribute it freely. Details of how to register it
  1060. can be found under the Help|Shareware command.
  1061.  
  1062. When you register, you will receive the latest version of EditHelp plus examples of 
  1063. and DLLs for embedded-pane animation. 
  1064. If other multimedia DLLs have been developed available they will be included as well.
  1065. Multimedia authoring tools are under development but they will cost extra.
  1066.  
  1067. You can optionally purchase a printed
  1068. manual which contains the same information as this Help file.
  1069.  
  1070. Please send your registration fee and any reports of bugs or suggestions for 
  1071. improvements to:
  1072.  
  1073.           Analogue Information Systems Ltd.\
  1074.           1 Warrender Park Crescent\
  1075.           Edinburgh EH9 1DX\
  1076.           Scotland, UK\
  1077.  
  1078. Send a formatted floppy and a stamped-addressed-envelope 
  1079. (whether you are registered or not) for 
  1080. other Analogue shareware and freeware games, utilities and screensavers 
  1081. which you may find of interest.
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100. \end
  1101. 2230
  1102. Secondary Window
  1103. Secondary Window
  1104. Window
  1105.  
  1106.  
  1107. 0
  1108.  
  1109. 0
  1110.  
  1111.  
  1112. Topic Text -----------------------------
  1113. If the format of a {link=2207,Link} command is
  1114.  
  1115.     {{}link=num>winName,text}
  1116.  
  1117. where 'winName' is the specification of a Secondary Window, then the destination 
  1118. {link=106,Topic} will be displayed in a separate window.
  1119. ('num' is the {link=105,Topic number} of the destination and 'text'
  1120. is the link-text to be displayed.)
  1121.  
  1122. The specification of a Secondary Window has the format:
  1123.  
  1124.     winName = "caption", (x,y,w,h,flag), state, (cR,cG,cB), (nR,nG,nB), fTop
  1125.  
  1126. This defines the size, location, and colors for the secondary window:
  1127.  
  1128.       {list=12}{line}{bold}Parameter    Description\
  1129.       winName    the name of the window type; it may be any unique name of up to 8 characters\
  1130.       caption    the title for a secondary window\
  1131.       x,y,w,h    position and size of the window\
  1132.       flag    0:    x,y,w,h are in 'help units' (Windows Help assumes the screen is always 1024x1024 'help units')\
  1133.           1:    x,y,w,h are in pixels\
  1134.       state    0:    set the window to the size specified by x,y,w,h\
  1135.           1:    maximize the window\
  1136.           2:    minimize the window\
  1137.       cR,cG,cB    the background color of the window\
  1138.       nR,nG,nB    the background color of the non-scrolling region\
  1139.       fTop    0:    the secondary window behaves normally\
  1140.           1:    the secondary window is displayed on top of all other windows\
  1141.  
  1142. {list=0}Only the 'name', 'caption' and '(x,y,w,h,flag)' fields are mandatory.
  1143.  
  1144. For instance
  1145.  
  1146.       MyWindow="My Window",(0,0,500,500,0),,(255,255,0),,1
  1147.  
  1148.       {{}link=249>MyWindow,Secondary Window}
  1149.  
  1150. specifies that if the 'Secondary Window' link is selected, 
  1151. the Secondary Window should appear in the top left corner of the 
  1152. screen, have a yellow background and remain on top. Try it:
  1153.  
  1154.       {link=249>MyWindow,Secondary Window}
  1155.  
  1156. All of the specifications of Secondary Windows in the Secondary Window dialog
  1157. listbox will be copied to the [WINDOWS] section 
  1158. of the {link=243,Help Project File.}
  1159.  
  1160. A {link=2219,Bitmap Link} can include a Secondary Window clause.
  1161. A {link=116,Popup Link} command should not include a Secondary Window clause.
  1162.  
  1163. If a Link command specifies both a Secondary Window and a {link=2231,New File},
  1164. the clauses should be in the order:
  1165.  
  1166.     {{}link=num@newFile>winName,text}
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181. \end
  1182. 2229
  1183. File|Save As WWW
  1184. File|Save As WWW
  1185. Save As WWW
  1186. WWW
  1187. HTML
  1188.  
  1189.  
  1190. 0
  1191.  
  1192. 0
  1193.  
  1194.  
  1195. Topic Text -----------------------------
  1196. The File|Save As WWW command saves the current source as
  1197. a HyperText Markup Language (HTML) file.
  1198. HTML can be used to represent Hypertext news, mail, online documentation, etc.
  1199. on the World Wide Web using a standard Internet protocol.
  1200.  
  1201. Each {link=106,topic} will be stored in a separate file. The topic with the {link=220,Contents}
  1202. flag set (if any) will be stored in the file
  1203.  
  1204.     <filename>.htm
  1205.  
  1206. where <filename> is the name of the current {link=107,help source file.}
  1207.  
  1208. The remaining topics will be stored the files with the name
  1209.  
  1210.     <fil><nnnnn>.htm
  1211.  
  1212. where <fil> is the first three characters of the {link=107,source file} name
  1213. and <nnnnn> is the {link=105,topic number} padded with '0' to 5 digits. 
  1214. For instance, Topic 117 of the source 'edithelp.edh' will be written as:
  1215.  
  1216.     edi00117.htm
  1217.  
  1218. HTML does not support several features available in Windows Help files:
  1219.  
  1220.     {list=13}{link=2218,Fonts}    the command is ignored\
  1221.     {link=2221,Text size}    the command is ignored\
  1222.     {link=2222,Text colour}    the command is ignored\
  1223.     {link=2225,Help Macros}    treated as a {link=2207,Link}\
  1224.     {link=116,Popup Links}    treated as a {link=2207,Link}\
  1225.     {link=241,Boxed text}    a {link=240,Line} is drawn\
  1226.     {link=242,Centred text}    the command is ignored\
  1227.     {link=247,Keep}    the command is ignored\
  1228.     {link=2236,Tab=...}    the command is ignored\
  1229.  
  1230. {list=0}If your source file uses any of these features, a warning message 
  1231. will be displayed but the HTML file will be written anyway.
  1232.  
  1233. A {link=2236,Tab} character will be translated into a single blank.
  1234.  
  1235. All {link=2224,Lists} will be displayed as simple bulleted lists.
  1236.  
  1237. If a {link=2214,Bitmap} or {link=2219,Bitmap Link} specifies a BMP (or {link=244,SHG}) file then
  1238. the 'bmp' (or 'shg') extension will be translated into 'gif'. So, for instance, the command:
  1239.  
  1240.     {{}bitmap=sample.bmp}
  1241.  
  1242. would be translated into an inline graphics element specifying
  1243.  
  1244.     sample.gif
  1245.  
  1246. You should make the GIF file available in the same directory as the HTML
  1247. files.
  1248. Some HTML browsers will not be able to display inline graphics. If the
  1249. graphic is essential, it may be wiser to make a link to it (by editing the
  1250. HTML file) rather than to put it inline.  
  1251.  
  1252. See also\
  1253.    {link=200,File|New}\
  1254.    {link=201,File|Open}\
  1255.    {link=202,File|Save}\
  1256.    {link=203,File|Save As}\
  1257.    {link=258,File|Project|New}\
  1258.    {link=2237,File|Project|Open}\
  1259.    {link=259,File|Project|Save}\
  1260.    {link=260,File|Project|SaveAs}\
  1261.    {link=2238,File|Project|Files}\
  1262.    {link=2239,File|Project|Move Topic}\
  1263.    {link=210,File|Save As TXT}\
  1264.    {link=246,File|Save As RTF}\
  1265.    {link=2217,File|Open EXE}\
  1266.    {link=401,File|WWW Mode}\
  1267.    {link=204,File|Exit}
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282. \end
  1283. 244
  1284. Segmented Graphics Files
  1285. Segmented Graphics Files
  1286. SHG
  1287. hypergraphics
  1288. links
  1289.  
  1290.  
  1291. 0
  1292.  
  1293. 0
  1294.  
  1295.  
  1296. Topic Text -----------------------------
  1297. A {link=118,Bitmap} command may specify
  1298. a Segmented Graphics File (SHG) instead of a BMP file:
  1299.  
  1300.     {{}bitmap=<SHG filename>}
  1301.  
  1302. A Segmented Graphics File contains a bitmap that includes 
  1303. one or more hotspots. For instance, 
  1304.  
  1305.     {{}bitmap=sample.shg}
  1306.  
  1307. will be displayed as
  1308.  
  1309.     {bitmap=sample.shg}
  1310.  
  1311. The hotspots can be {link=2207,links} to other topics or {link=2225,Help Macro} commands.
  1312. In the example above, each icon is a hotspot. The Write, FileManager, Pbrush and
  1313. MS-DOS icons specify a {link=116,popup link} while the Notepad icon specifies a
  1314. {link=2225,Help Macro} which executes the Notepad program.
  1315.  
  1316. The SHG file should be in the same directory as 
  1317. the {link=107,help source file.}  The <SHG filename> should not contain
  1318. any DOS path information.
  1319.  
  1320. You can create SHG files with the Microsoft Hotspot Editor
  1321.  
  1322.     SHED.EXE
  1323.  
  1324. SHED may have been supplied with your copy of Windows, or with your
  1325. Microsoft or Borland programming tools.
  1326.  
  1327. If you use SHED to create links, the topic context string for topic number 'nnn'
  1328. is 'PGnnn'. For instance, this is topic number 244, so the SHED context
  1329. string for a link to this topic is:
  1330.  
  1331.     PG244
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346. \end
  1347. 2228
  1348. Topic|Browse
  1349. Topic|Browse
  1350. Browse
  1351.  
  1352.  
  1353. 0
  1354.  
  1355. 2
  1356. TopicMenu
  1357.  
  1358. Topic Text -----------------------------
  1359. The Topic|Browse command sets the browse group name and number of the current topic. 
  1360.  
  1361. A browse sequence typically consists of two or more related topics
  1362. that are intended to be read sequentially.
  1363. Each group has a browse Group Name and each topic in the
  1364. group has a different Sequence Number.
  1365.  
  1366. Windows Help adds topics with the same Group Name to the same browse group and
  1367. determines the order of topics in the group by sorting the Sequence Numbers. 
  1368. If two topics in a group have the same number, Windows Help assumes
  1369. that the topic that was compiled first is to be displayed first.
  1370.  
  1371. If any topic belongs to a browse group, EditHelp will add browse buttons
  1372. to the button bar of Windows Help.
  1373.  
  1374. If the Group Name of a topic is empty then the topic does not belong to any browse group.
  1375.  
  1376. The browse name and number of the current topic are shown in the top right 
  1377. corner of the main window.
  1378.  
  1379. For instance, the Group Name of this topic and all the other topics describing the
  1380. 'Topic' popup menu have been set to
  1381.  
  1382.       TopicMenu
  1383.  
  1384. and the Sequence Numbers have been set to 1,2,3...
  1385.  
  1386. See also\
  1387.    {link=214,Topic|Next topic}\
  1388.    {link=215,Topic|Prev topic}\
  1389.    {link=227,Topic|Back}\
  1390.    {link=216,Topic|New topic}\
  1391.    {link=2202,Topic|Goto}\
  1392.    {link=228,Topic|Goto Unfinished}\
  1393.    {link=218,Topic|Delete}\
  1394.    {link=2201,Topic|Caption}\
  1395.    {link=220,Topic|Contents}\
  1396.    {link=221,Topic|Status}\
  1397.    {link=2240,Topic|Entry Command}\
  1398.    {link=253,Topic|Preview}\
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409. \end
  1410. 2227
  1411. HelpFile|Icon
  1412. HelpFile|Icon
  1413. Icon
  1414.  
  1415.  
  1416. 0
  1417.  
  1418. 0
  1419.  
  1420.  
  1421. Topic Text -----------------------------
  1422. The HelpFile|Icon command allows you to specify the name of an icon (.ICO) file. 
  1423.  
  1424. The icon will be displayed when the {link=107,Help file} is minimised.
  1425.  
  1426. The filename should not contain any path information. The icon file should be in
  1427. the same directory as the EDH {link=107,source file.}
  1428.  
  1429. For instance, if the Icon filename is set to 'sample.ico' then the following icon 
  1430. will be displayed when the Help file is minimised:
  1431.  
  1432.     {bitmap=sample3.bmp}
  1433.  
  1434. If the Icon filename is set blank then the default Windows Help icon will be displayed.
  1435.  
  1436. See also\
  1437.    {link=222,HelpFile|Make}\
  1438.    {link=223,HelpFile|Test}\
  1439.    {link=109,HelpFile|Make This Topic}\
  1440.    {link=2204,HelpFile|Directories}\
  1441.    {link=2203,HelpFile|Title}\
  1442.    {link=226,HelpFile|Compress}\
  1443.    {link=2226,HelpFile|Copyright}\
  1444.    {link=2205,HelpFile|Status}\
  1445.    {link=2211,HelpFile|Keywords}
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460. \end
  1461. 2226
  1462. HelpFile|Copyright
  1463. HelpFile|Copyright
  1464. Copyright
  1465.  
  1466.  
  1467. 0
  1468.  
  1469. 0
  1470.  
  1471.  
  1472. Topic Text -----------------------------
  1473. The HelpFile|Copyright command allows you to specify an additional copyright notice 
  1474. which will appear in the Windows Help {link='About()',About} box.
  1475.  
  1476. See also\
  1477.    {link=222,HelpFile|Make}\
  1478.    {link=223,HelpFile|Test}\
  1479.    {link=109,HelpFile|Make This Topic}\
  1480.    {link=2204,HelpFile|Directories}\
  1481.    {link=2203,HelpFile|Title}\
  1482.    {link=226,HelpFile|Compress}\
  1483.    {link=2227,HelpFile|Icon}\
  1484.    {link=2205,HelpFile|Status}\
  1485.    {link=2211,HelpFile|Keywords}
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538.  
  1539.  
  1540.  
  1541.  
  1542.  
  1543.  
  1544.  
  1545.  
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554. \end
  1555. 2225
  1556. Help Macros
  1557. Help Macros
  1558. macros
  1559.  
  1560.  
  1561. 0
  1562.  
  1563. 0
  1564.  
  1565.  
  1566. Topic Text -----------------------------
  1567. Help Macros are commands sent to to the Windows Help system. For instance: 
  1568.  
  1569.   {{}link='About()',Display About Box}
  1570.  
  1571. calls the About macro when the hotspot is selected:
  1572.  
  1573.   {link='About()',Display About Box}
  1574.  
  1575. A {{}link=...} may contain several macros separated by semi-colons.
  1576.  
  1577. You may add new commands contained in your own DLLs by calling the
  1578. RegisterRoutine macro. For instance, this command contains two macros, the first registers
  1579. the FUNC1 routine in the sample.dll DLL and the second calls it and passes the integer
  1580. value 1234:
  1581.  
  1582.   {{}link=!RegisterRoutine("sample.dll","FUNC1","i");FUNC1(1234)!,Call a DLL} 
  1583.  
  1584. Selecting  the hotspot calls the DLL:
  1585.  
  1586.   {link=!RegisterRoutine("sample.dll","FUNC1","i");FUNC1(1234)!,Call a DLL} 
  1587.  
  1588. A macro can also be specified in a {link=2219,Bitmap Link.} For instance:
  1589.  
  1590.     {{}link='ExecProgram("calc.exe",0)',bmp=sample2.bmp}
  1591.  
  1592. selecting this bitmap will execute the Calculator program supplied with Windows:
  1593.  
  1594.     {link='ExecProgram("calc.exe",0)',bmp=sample2.bmp}
  1595.  
  1596. The Windows Help system supports the following macros:
  1597.  
  1598.     {line}{list=20}{bold}Macro    Function\
  1599.     About    Displays the About dialog box\
  1600.     AddAccelerator    Assigns a macro to an accelerator key\
  1601.     Annotate    Displays Annotation dialog box\
  1602.     AppendItem    Appends a menu item\
  1603.     Back    Displays previous topic in the history list\
  1604.     BookmarkDefine    Displays the Define dialog box\
  1605.     BookmarkMore    Displays the More dialog box\
  1606.     BrowseButtons    Adds browse buttons\
  1607.     ChangeButtonBinding    Assigns a macro to a button\
  1608.  
  1609.     ChangeItemBinding    Assigns a macro to a menu item\
  1610.     CheckItem    Checks a menu item\
  1611.     CloseWindow    Closes a window\
  1612.     Contents    Displays the Contents topic\
  1613.     CopyDialog    Displays the Copy dialog box\
  1614.     CopyTopic    Copies current topic to the clipboard\
  1615.     CreateButton    Adds a new button to the button bar\
  1616.     DeleteItem    Removes a menu item\
  1617.     DeleteMark    Deletes a text marker\
  1618.  
  1619.     DestroyButton    Removes a button from the button bar\
  1620.     DisableButton    Disables a button\
  1621.     DisableItem    Disables a menu item\
  1622.     EnableButton    Enables a button\
  1623.     EnableItem    Enables a menu item\
  1624.     ExecProgram    Executes a program\
  1625.     Exit    Exits WinHelp\
  1626.     FileOpen    Displays the Open dialog box\
  1627.     FocusWindow    Changes the focus window\
  1628.     GoToMark    Jumps to a marker\
  1629.  
  1630.     HelpOn    Displays the Help on Using topic\
  1631.     HelpOnTop    Toggles on-top state of help\
  1632.     History    Displays the history list\
  1633.     IfThen    Executes macro if marker exists\
  1634.     IfThenElse    Executes one of two macros if marker exists\
  1635.     InsertItem    Inserts a menu item\
  1636.     InsertMenu    Inserts a new menu\
  1637.     IsMark    Tests if a marker is set\
  1638.     JumpContents    Jumps to the Contents topic\
  1639.  
  1640.     JumpContext    Jumps to the specified context\
  1641.     JumpHelpOn    Jumps to Using Help file\
  1642.     JumpId    Jumps to the specified topic\
  1643.     JumpKeyword    Jumps to the topic containing the keyword\
  1644.     Next    Displays the next topic in the browse sequence\
  1645.     Not    Reverses the IsMark macro\
  1646.     PopupContext    Displays a topic in a popup window\
  1647.     PopupId    Displays topic in a popup window\
  1648.     PositionWindow    Sets the size and position of a window\
  1649.  
  1650.     Prev    Displays previous topic in browse sequence\
  1651.     Print    Prints the current topic\
  1652.     PrinterSetup    Displays the Printer Setup dialog box\
  1653.     RegisterRoutine    Registers a DLL function\
  1654.     RemoveAccelerator    Assigns a macro to an accelerator key\
  1655.     SaveMark    Saves a marker\
  1656.     Search    Displays the Search dialog box\
  1657.     SetContents    Sets the Contents topic\
  1658.     SetHelpOnFile    Sets the Using Help help file\
  1659.  
  1660.     UncheckItem    Unchecks a menu item\
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675. \end
  1676. 2222
  1677. Text|Colour
  1678. Text|Colour
  1679. colour
  1680.  
  1681.  
  1682. 0
  1683.  
  1684. 0
  1685.  
  1686.  
  1687. Topic Text -----------------------------
  1688. The Colour {link=115,command} specifies that subsequent text is shown 
  1689. in the specified colour:
  1690.  
  1691.     {{}colour=n}
  1692.  
  1693. where 'n' is the colour number.
  1694.  
  1695. The following colours are available on a 16-colour display:
  1696.  
  1697.     {colour=1}{{}colour=1}  blue\
  1698.     {colour=2}{{}colour=2}  cyan\
  1699.     {colour=3}{{}colour=3}  green\
  1700.     {colour=4}{{}colour=4}  magenta\
  1701.     {colour=5}{{}colour=5}  red\
  1702.     {colour=6}{{}colour=6}  yellow\
  1703.     {colour=7}{{}colour=7}  white\
  1704.     {colour=8}{{}colour=8}  dark blue\
  1705.     {colour=9}{{}colour=9}  dark cyan\
  1706.     {colour=10}{{}colour=10}  dark green\
  1707.     {colour=11}{{}colour=11}  dark magenta\
  1708.     {colour=12}{{}colour=12}  dark red\
  1709.     {colour=13}{{}colour=13}  dark yellow\
  1710.     {colour=14}{{}colour=14}  dark grey\
  1711.     {colour=15}{{}colour=15}  grey{colour=0}\
  1712.  
  1713. See also\
  1714.     {link=2218,Text|Font Command}\
  1715.     {link=2221,Text|Size Command}\
  1716.     {link=232,Text|Italic Command}\
  1717.     {link=231,Text|Bold Command}\
  1718.     {link=2235,Text|Defaults}\
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725.  
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740.  
  1741.  
  1742.  
  1743.  
  1744.  
  1745.  
  1746.  
  1747.  
  1748.  
  1749.  
  1750.  
  1751.  
  1752.  
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761. \end
  1762. 242
  1763. Layout|Centre
  1764. Layout|Centre
  1765. centre
  1766.  
  1767.  
  1768. 0
  1769.  
  1770. 0
  1771.  
  1772.  
  1773. Topic Text -----------------------------
  1774. A Centre {link=115,command} specifies that the remaining text of the paragraph
  1775. should be centered in the screen. For instance:
  1776.  
  1777.     {{}centre}This text is centred
  1778.  
  1779. is shown as:
  1780.  
  1781.     {centre}This text is centred
  1782.  
  1783. The Centre command must appear before any of the text of a paragraph.
  1784.  
  1785. The Centre command may be combined with the {link=241,Box} command:
  1786.  
  1787. {{}centre}{{}box}This is boxed and centred
  1788.  
  1789. is displayed as
  1790.  
  1791. {centre}{box}This is boxed and centred
  1792.  
  1793. See also\
  1794.     {link=2220,Layout|Heading}\
  1795.     {link=2224,Layout|List}\
  1796.     {link=240,Layout|Line}\
  1797.     {link=241,Layout|Box}\
  1798.     {link=2236,Layout|Tab}\
  1799.     {link=247,Layout|Keep}\
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807.  
  1808.  
  1809.  
  1810.  
  1811.  
  1812.  
  1813.  
  1814.  
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.  
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833. \end
  1834. 241
  1835. Layout|Box
  1836. Layout|Box
  1837. box
  1838.  
  1839.  
  1840. 0
  1841.  
  1842. 0
  1843.  
  1844.  
  1845. Topic Text -----------------------------
  1846. A Box {link=115,command} specifies that a box should be drawn 
  1847. around the remaining text of the paragraph. For instance:
  1848.  
  1849.     {{}box}This text is in a box
  1850.  
  1851. is shown as:
  1852.  
  1853.     {box}This text is in a box
  1854.  
  1855. The box command must appear before any of the text of a paragraph.
  1856. It may be indented, as in the above example.
  1857.  
  1858. See also\
  1859.     {link=2220,Layout|Heading}\
  1860.     {link=2224,Layout|List}\
  1861.     {link=240,Layout|Line}\
  1862.     {link=242,Layout|Centre}\
  1863.     {link=2236,Layout|Tab}\
  1864.     {link=247,Layout|Keep}\
  1865.  
  1866.  
  1867.  
  1868.  
  1869.  
  1870.  
  1871.  
  1872.  
  1873.  
  1874.  
  1875.  
  1876.  
  1877.  
  1878.  
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898. \end
  1899. 240
  1900. Layout|Line
  1901. Layout|Line
  1902. line
  1903.  
  1904.  
  1905. 0
  1906.  
  1907. 0
  1908.  
  1909.  
  1910. Topic Text -----------------------------
  1911. A Line {link=115,command} specifies that a line should be drawn across the screen. For 
  1912. instance:
  1913.  
  1914.     {{}line}
  1915.  
  1916. is shown as:
  1917.  
  1918.     {line}
  1919.  
  1920. If the Line command is followed by text, the text is displayed immediately above
  1921. the line:
  1922.  
  1923.     {{}line}This is text
  1924.  
  1925. is shown as:
  1926.  
  1927.     {line}This is text
  1928.  
  1929. The Line command may only appear before the text of a {link=114,paragraph.} 
  1930. The Line command  may be {link=114,indented.}
  1931.  
  1932. Both Line and List commands can be used together. For instance:
  1933.  
  1934.     {{}list=15}{{}line}{{}bold}Key<tab>Function{{}bold}
  1935.  
  1936.     F1<tab>Calls the help system
  1937.  
  1938.     Alt<tab>Selects the menu
  1939.  
  1940. {list=0}(where <tab> is a {link=2236,Tab} character). This is displayed as:
  1941.  
  1942.     {list=10}{line}{bold}Key    Function{bold}
  1943.  
  1944.     F1    Calls the help system
  1945.  
  1946.     Alt    Selects the menu
  1947.  
  1948. {list=0}See also\
  1949.     {link=2220,Layout|Heading}\
  1950.     {link=2224,Layout|List}\
  1951.     {link=241,Layout|Box}\
  1952.     {link=242,Layout|Centre}\
  1953.     {link=2236,Layout|Tab}\
  1954.     {link=247,Layout|Keep}\
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969. \end
  1970. 2224
  1971. Layout|List
  1972. Layout|List
  1973. list
  1974.  
  1975.  
  1976. 0
  1977.  
  1978. 0
  1979.  
  1980.  
  1981. Topic Text -----------------------------
  1982. A List {link=115,command} specifies that the following text should be shown in list format. 
  1983.  
  1984. There are three formats for the list command:
  1985.  
  1986.     {list=13}{line}{bold}Command    Description
  1987.  
  1988.     {{}list}    start a {link=255,Bulleted List}
  1989.  
  1990.     {{}list=n}    start a {link=254,Definition List}
  1991.  
  1992.     {{}list=0}    end a list
  1993.  
  1994. {list=0}See also\
  1995.     {link=2220,Layout|Heading}\
  1996.     {link=240,Layout|Line}\
  1997.     {link=241,Layout|Box}\
  1998.     {link=242,Layout|Centre}\
  1999.     {link=2236,Layout|Tab}\
  2000.     {link=247,Layout|Keep}\
  2001.  
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007.  
  2008.  
  2009.  
  2010.  
  2011.  
  2012.  
  2013.  
  2014.  
  2015.  
  2016.  
  2017.  
  2018.  
  2019.  
  2020.  
  2021.  
  2022.  
  2023.  
  2024.  
  2025.  
  2026.  
  2027.  
  2028.  
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034. \end
  2035. 2220
  2036. Layout|Heading
  2037. Layout|Heading
  2038. heading
  2039.  
  2040.  
  2041. 0
  2042.  
  2043. 0
  2044.  
  2045.  
  2046. Topic Text -----------------------------
  2047. A sub-heading is specified by the Heading {link=115,command}:  
  2048.  
  2049.     {{}heading=<text>}
  2050.  
  2051. where <text> is the text of the heading.
  2052.  
  2053. For instance, the following command:
  2054.  
  2055. {{}heading=Sub-heading}
  2056.  
  2057. will be displayed as
  2058.  
  2059. {heading=Sub-heading}
  2060.  
  2061. The Layout|Heading command inserts a Heading into the text of the current topic 
  2062. at the current insertion point. 
  2063.  
  2064. You can also type in a Heading {link=115,command} "by hand".
  2065.  
  2066. See also\
  2067.     {link=115,Text commands}\
  2068.     {link=2224,Layout|List}\
  2069.     {link=240,Layout|Line}\
  2070.     {link=241,Layout|Box}\
  2071.     {link=242,Layout|Centre}\
  2072.     {link=2236,Layout|Tab}\
  2073.     {link=247,Layout|Keep}\
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080.  
  2081.  
  2082.  
  2083.  
  2084.  
  2085.  
  2086.  
  2087.  
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107. \end
  2108. 2219
  2109. Edit|Bitmap Link
  2110. Edit|Bitmap Link
  2111. bitmap
  2112. links
  2113.  
  2114.  
  2115. 0
  2116.  
  2117. 0
  2118.  
  2119.  
  2120. Topic Text -----------------------------
  2121. A bitmap link is specified in the source text by the Link {link=115,command}:  
  2122.  
  2123.     {{}link=<num>,bmp=<filename>}
  2124.  
  2125. where <num> is the {link=105,Topic number} of the destination and <filename> 
  2126. is a file containing the bitmap to be displayed.
  2127.  
  2128. For instance, the Edit|Link topic is 2207 so a bitmap-link to that topic could be
  2129. specified as
  2130.  
  2131.     {{}link=2207,bmp=sample1.bmp}
  2132.  
  2133. which would display as
  2134.  
  2135.     {link=2207,bmp=sample1.bmp}
  2136.  
  2137. When the user selects the bitmap, the destination topic is displayed.
  2138.  
  2139. As in this example: {link=2207,bmp=sample1.bmp} a bitmap-link can also 
  2140. appear in the middle of text.
  2141.  
  2142. A bitmap-link can specify that the destination topic is to be displayed as a popup. 
  2143. For instance
  2144.  
  2145.     {{}popup=117,bmp=sample1.bmp} 
  2146.  
  2147. would be displayed as
  2148.  
  2149.     {popup=117,bmp=sample1.bmp}
  2150.  
  2151. The bitmap filename should not contain any path information. The bitmap file should be in
  2152. the same directory as the EDH {link=107,source file.}
  2153.  
  2154. A link can specify that the destination topic should be displayed in a 
  2155. {link=2230,Secondary Window} or that a {link=2231,New File} should be loaded.
  2156.  
  2157.  
  2158. See also\
  2159.    {link=205,Edit|Undo}\
  2160.    {link=206,Edit|Cut}\
  2161.    {link=207,Edit|Copy}\
  2162.    {link=208,Edit|Paste}\
  2163.    {link=209,Edit|Delete}\
  2164.    {link=2207,Edit|Link}\
  2165.    {link=2215,Edit|Popup}\
  2166.    {link=2214,Edit|Bitmap}\
  2167.    {link=2234,Edit|DLL Call}\
  2168.    {link=2233,Edit|Embedded Pane}\
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183. \end
  2184. 2217
  2185. File|Open EXE
  2186. Open EXE
  2187.  
  2188.  
  2189. 0
  2190.  
  2191. 0
  2192.  
  2193.  
  2194. Topic Text -----------------------------
  2195. The File|Open EXE command reads an exe file and examines the menu 
  2196. and dialog resources of the file. From these, it creates a corresponding
  2197. skeleton {link=107,EDH source file} with one topic for each menu item and
  2198. dialog box.
  2199.  
  2200. If the source file name is 
  2201.  
  2202.       program.exe
  2203.  
  2204. then the new source file will be
  2205.  
  2206.       program.edh
  2207.  
  2208. The topics corresponding with menu items are numbered
  2209.  
  2210.       10000 + id
  2211.  
  2212. where 'id' is the id-number of the menu item.
  2213.  
  2214. The topics corresponding with dialogs are numbered sequentially from 1 except
  2215. that if the dialog has a button labelled 'Help' then the topic is given the same
  2216. topic number as the button id-number.
  2217.  
  2218. See also\
  2219.    {link=200,File|New}\
  2220.    {link=201,File|Open}\
  2221.    {link=202,File|Save}\
  2222.    {link=203,File|Save As}\
  2223.    {link=258,File|Project|New}\
  2224.    {link=2237,File|Project|Open}\
  2225.    {link=259,File|Project|Save}\
  2226.    {link=260,File|Project|SaveAs}\
  2227.    {link=2238,File|Project|Files}\
  2228.    {link=2239,File|Project|Move Topic}\
  2229.    {link=210,File|Save As TXT}\
  2230.    {link=246,File|Save As RTF}\
  2231.    {link=2229,File|Save As WWW}\
  2232.    {link=401,File|WWW Mode}\
  2233.    {link=204,File|Exit}
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256.  
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262. \end
  2263. 232
  2264. Text|Italic
  2265. Text|Italic
  2266. fonts
  2267. italic
  2268.  
  2269.  
  2270. 0
  2271.  
  2272. 0
  2273.  
  2274.  
  2275. Topic Text -----------------------------
  2276. The Text|Italic command sets whether subsequent text will be displayed italic or normal. 
  2277.  
  2278.     {{}italic}
  2279.  
  2280. The {{}italic} {link=115,command} toggles between italic and normal characters. 
  2281. For instance:
  2282.  
  2283.     Ordinary text and {{}italic}italic text and back to {{}italic}ordinary text
  2284.  
  2285. is displayed as:
  2286.  
  2287.     Ordinary text and {italic}italic text and back to {italic}ordinary text
  2288.  
  2289. Every paragraph starts with the text normal (not italic). 
  2290.  
  2291. See also\
  2292.     {link=2218,Text|Font Command}\
  2293.     {link=2221,Text|Size Command}\
  2294.     {link=231,Text|Bold Command}\
  2295.     {link=2222,Text|Colour Command}\
  2296.     {link=2235,Text|Defaults}\
  2297.  
  2298.  
  2299.  
  2300.  
  2301.  
  2302.  
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314.  
  2315.  
  2316.  
  2317.  
  2318.  
  2319.  
  2320.  
  2321.  
  2322.  
  2323.  
  2324.  
  2325.  
  2326.  
  2327.  
  2328.  
  2329.  
  2330.  
  2331.  
  2332.  
  2333.  
  2334.  
  2335.  
  2336.  
  2337.  
  2338.  
  2339.  
  2340.  
  2341.  
  2342. \end
  2343. 231
  2344. Text|Bold
  2345. Text|Bold
  2346. fonts
  2347. bold
  2348.  
  2349.  
  2350. 0
  2351.  
  2352. 0
  2353.  
  2354.  
  2355. Topic Text -----------------------------
  2356. The Text|Bold command sets whether subsequent text will be displayed bold or normal width. 
  2357.  
  2358.     {{}bold}
  2359.  
  2360. The {{}bold} {link=115,command} toggles between bold and normal width characters. 
  2361. For instance:
  2362.  
  2363.     Ordinary text and {{}bold}bold text and back to {{}bold}ordinary text
  2364.  
  2365. is displayed as:
  2366.  
  2367.     Ordinary text and {bold}bold text and back to {bold}ordinary text
  2368.  
  2369. Every paragraph starts with the text normal width. 
  2370.  
  2371. See also\
  2372.     {link=2218,Text|Font Command}\
  2373.     {link=2221,Text|Size Command}\
  2374.     {link=232,Text|Italic Command}\
  2375.     {link=2222,Text|Colour Command}\
  2376.     {link=2235,Text|Defaults}\
  2377.  
  2378.  
  2379.  
  2380.  
  2381.  
  2382.  
  2383.  
  2384.  
  2385.  
  2386.  
  2387.  
  2388.  
  2389.  
  2390.  
  2391.  
  2392.  
  2393.  
  2394.  
  2395.  
  2396.  
  2397.  
  2398.  
  2399.  
  2400.  
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417.  
  2418.  
  2419.  
  2420.  
  2421.  
  2422. \end
  2423. 2221
  2424. Text|Size
  2425. Text|Size
  2426. fonts
  2427. size
  2428.  
  2429.  
  2430. 0
  2431.  
  2432. 0
  2433.  
  2434.  
  2435. Topic Text -----------------------------
  2436. The Text|Size {link=115,command} sets the size of the font to be used for subsequent text.  
  2437.  
  2438.     {{}fontsize=n}
  2439.  
  2440. where 'n' is the character size; the default characted size is 20. For instance:
  2441.  
  2442.     This is {{}fontsize=50}very large{{}fontsize=20} text
  2443.  
  2444. is displayed as:
  2445.  
  2446.     This is {fontsize=50}very large{fontsize=20} text
  2447.  
  2448. Not all character sizes are displayed well with all fonts
  2449.  
  2450. See also\
  2451.     {link=2218,Text|Font Command}\
  2452.     {link=231,Text|Bold Command}\
  2453.     {link=232,Text|Italic Command}\
  2454.     {link=2222,Text|Colour Command}\
  2455.     {link=2235,Text|Defaults}\
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466.  
  2467.  
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474.  
  2475.  
  2476.  
  2477.  
  2478.  
  2479.  
  2480.  
  2481.  
  2482.  
  2483.  
  2484.  
  2485.  
  2486.  
  2487.  
  2488.  
  2489.  
  2490.  
  2491.  
  2492.  
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501. \end
  2502. 2218
  2503. Text|Font
  2504. Text|Font
  2505. fonts
  2506.  
  2507.  
  2508. 0
  2509.  
  2510. 0
  2511.  
  2512.  
  2513. Topic Text -----------------------------
  2514. The Text|Font {link=115,command} sets the font to be used for subsequent text.  
  2515.  
  2516.     {{}font=n}
  2517.  
  2518. where 'n' is the font number. For instance:
  2519.  
  2520.     {{}font=6}}This is script font{{}font=0}
  2521.  
  2522. is displayed as:
  2523.  
  2524.     {font=6}This is script font{font=0}
  2525.  
  2526. The Text|Font command provides the following font options as standard:
  2527.  
  2528.     {list=10}{font=0}{{}font=0}    {font=0}Arial: modern\
  2529.     {font=0}{{}font=1}    {font=1}Courier New: modern\
  2530.     {font=0}{{}font=2}    {font=2}Modern: modern\
  2531.     {font=0}{{}font=3}    {font=3}MS Sans Serif: swiss\
  2532.     {font=0}{{}font=4}    {font=4}MS Serif: swiss\
  2533.     {font=0}{{}font=5}    {font=5}Roman: roman\
  2534.     {font=0}{{}font=6}    {font=6}Brush Script: script\
  2535.     {font=0}{{}font=7}    {font=7}{fontsize=12}Small Fonts: decor{fontsize=20}\
  2536.     {font=0}{{}font=8}    {font=8}Symbol: roman  {font=0}(Symbol)\
  2537.     {font=0}{{}font=9}    {font=9}Times New Roman: roman\
  2538.  
  2539. {font=0}Not all these fonts may be present on your computer.
  2540.  
  2541. You may add other font options by typing into the font Combo-box. The format of the
  2542. font string should be:
  2543.  
  2544.       <font name>:<font family>
  2545.  
  2546. If the specified font is not present, Windows Help will select another font from the 
  2547. same family.
  2548.  
  2549. There may not be more than 100 fonts.
  2550.  
  2551. See also\
  2552.     {link=2221,Text|Size Command}\
  2553.     {link=231,Text|Bold Command}\
  2554.     {link=232,Text|Italic Command}\
  2555.     {link=2222,Text|Colour Command}
  2556.     {link=2235,Text|Defaults}\
  2557.  
  2558.  
  2559.  
  2560.  
  2561.  
  2562.  
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576. \end
  2577. 2208
  2578. Search|Replace with Link
  2579. Search|Replace with Link
  2580. Replace with Link
  2581. Links
  2582.  
  2583.  
  2584. 0
  2585.  
  2586. 0
  2587.  
  2588.  
  2589. Topic Text -----------------------------
  2590. The Search|Replace with Link command searches for and changes text in
  2591. into a {link=2207,Link.}
  2592.  
  2593. The Replace with Link command will not replace text which is 
  2594. inside a {{}link=...} or any other {link=115,command.}
  2595. Nor will it replace text which is in the same {link=106,topic} as the
  2596. destination of the link.
  2597.  
  2598. During the search, you can match uppercase and lowercase letters or 
  2599. ignore case. 
  2600.  
  2601. If the 'all occurrences' box is checked then all the occurrences of the
  2602. search string will be replaced in the current topic.
  2603.  
  2604. If you select the 'All Topics' button then the search will start with the first topic
  2605. in the topic list and will be extended to all the topics in the list.
  2606. If the 'all occurrences' box is checked then all the occurrences of the
  2607. search string will be replaced in all topics.
  2608. If the 'all occurrences' box is not checked then only the first occurrence 
  2609. to be found will be replaced.
  2610.  
  2611. See also\
  2612.    {link=2210,Search|Find}\
  2613.    {link=2209,Search|Replace}\
  2614.    {link=213,Search|Next}\
  2615.    {link=2213,Search|Find Error}
  2616.  
  2617.  
  2618.  
  2619.  
  2620.  
  2621.  
  2622.  
  2623.  
  2624.  
  2625.  
  2626.  
  2627.  
  2628.  
  2629.  
  2630. \end
  2631. 227
  2632. Topic|Back
  2633. Topic|Back
  2634. Back
  2635.  
  2636.  
  2637. 0
  2638.  
  2639. 1
  2640. TopicMenu
  2641.  
  2642. Topic Text -----------------------------
  2643. The Topic|Back command re-displays the last {link=106,topic} to be shown.
  2644.  
  2645. The Topic|Back command can be called with the Ctrl-B key.
  2646.  
  2647. See also\
  2648.    {link=214,Topic|Next topic}\
  2649.    {link=215,Topic|Prev topic}\
  2650.    {link=216,Topic|New topic}\
  2651.    {link=2202,Topic|Goto}\
  2652.    {link=228,Topic|Goto Unfinished}\
  2653.    {link=218,Topic|Delete}\
  2654.    {link=2201,Topic|Caption}\
  2655.    {link=220,Topic|Contents}\
  2656.    {link=2228,Topic|Browse}\
  2657.    {link=221,Topic|Status}\
  2658.    {link=2240,Topic|Entry Command}\
  2659.    {link=253,Topic|Preview}\
  2660.  
  2661.  
  2662.  
  2663.  
  2664.  
  2665.  
  2666.  
  2667.  
  2668.  
  2669.  
  2670. \end
  2671. 118
  2672. Bitmaps
  2673. bitmaps
  2674.  
  2675.  
  2676. 2
  2677.  
  2678. 0
  2679.  
  2680.  
  2681. Topic Text -----------------------------
  2682. A {link=118,Bitmap} is specified by the Bitmap {link=115,command}: 
  2683.  
  2684.     {{}bitmap=<filename>}
  2685.  
  2686. where <filename> is the name of a BMP file to be displayed.
  2687.  
  2688. The bitmap should be a standard windows .BMP file in the same directory as 
  2689. the {link=107,help source file.}  The <filename> should not contain
  2690. any DOS path information.
  2691.  
  2692. For instance, the following command:
  2693.  
  2694.     {{}bitmap=sample.bmp}
  2695.  
  2696. will be displayed as
  2697.  
  2698.     {bitmap=sample.bmp}
  2699.  
  2700. The help system will display coloured bitmaps but you may find it best to
  2701. use monochrome bitmaps. They are smaller and can be displayed on any hardware.
  2702.  
  2703. You may also specify a {link=244,Segmented Graphics File} (SHG) instead of a BMP bitmap.
  2704. A Segmented Graphics File contains a bitmap that includes 
  2705. one or more hotspots. 
  2706. The hotspots can be {link=2207,links} to other topics or {link=2225,Help Macro} commands.
  2707.  
  2708. A small {link=256,selection of bitmaps} are supplied with EditHelp.
  2709.  
  2710. Bitmaps can be used in a variety of ways:
  2711.  
  2712. {list=4}    A bitmap can be embedded in the text {bitmap=arrow.bmp} as with
  2713.             this arrow\
  2714. {bitmap=point1.bmp}    You can use bitmaps to highlight paragraphs of text
  2715.  
  2716.     Or you can simulate a Browse sequence with the 
  2717.                        'Previous' and 'Next' buttons:
  2718.  
  2719. {list=0}{link=118,bmp=btnprev.bmp}{link=2219,bmp=btnnext.bmp}
  2720.  
  2721. The bitmap command can take two other forms:
  2722.  
  2723.     {{}bitmap=left,sample3.bmp} \
  2724.     {{}bitmap=right,sample3.bmp} 
  2725.  
  2726. {bitmap=left,sample3.bmp}A {{}bitmap=left,...} command means
  2727. the paragraph text is wrapped to the right of the bitmap.
  2728.  
  2729. {bitmap=right,sample3.bmp}A {{}bitmap=right,...} command means
  2730. the paragraph text is wrapped to the left of the bitmap.
  2731.  
  2732. See also\
  2733.     {link=115,Text Commands}\
  2734.     {link=2214,Edit|Bitmap}
  2735.  
  2736.  
  2737.  
  2738.  
  2739.  
  2740.  
  2741. \end
  2742. 117
  2743.  
  2744.  
  2745.  
  2746.  
  2747. 0
  2748.  
  2749. 0
  2750.  
  2751.  
  2752. Topic Text -----------------------------
  2753. This is a popup topic. It will remain on the screen until you click the mouse 
  2754. or press a key.
  2755.  
  2756. The {link=108,caption} of a popup can be left blank.
  2757.  
  2758.  
  2759.  
  2760.  
  2761.  
  2762.  
  2763.  
  2764.  
  2765.  
  2766.  
  2767.  
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773.  
  2774.  
  2775.  
  2776.  
  2777.  
  2778.  
  2779.  
  2780.  
  2781.  
  2782.  
  2783.  
  2784.  
  2785.  
  2786.  
  2787.  
  2788.  
  2789.  
  2790.  
  2791.  
  2792.  
  2793.  
  2794.  
  2795.  
  2796.  
  2797.  
  2798.  
  2799.  
  2800.  
  2801.  
  2802.  
  2803.  
  2804.  
  2805.  
  2806.  
  2807.  
  2808.  
  2809.  
  2810.  
  2811.  
  2812.  
  2813.  
  2814.  
  2815.  
  2816.  
  2817.  
  2818.  
  2819.  
  2820.  
  2821.  
  2822.  
  2823.  
  2824.  
  2825. \end
  2826. 116
  2827. Popup Link
  2828. popup link
  2829. links
  2830.  
  2831.  
  2832. 0
  2833.  
  2834. 0
  2835.  
  2836.  
  2837. Topic Text -----------------------------
  2838. A popup link is specified in the source text by the Popup {link=115,command}: 
  2839.  
  2840.     {{}popup=<num>,<text>}
  2841.  
  2842. where <num> is the {link=105,Topic number} of the destination and <text> 
  2843. is the link-text to be displayed.
  2844.  
  2845. For instance, the popup topic is 117 so a link to the popup topic would be
  2846. specified as
  2847.  
  2848.     {{}popup=117,Popup Topic}
  2849.  
  2850. which would display as
  2851.  
  2852.     {popup=117,Popup Topic}
  2853.  
  2854. When the user selects the popup link, the destination topic is displayed in 
  2855. a separate window.
  2856.  
  2857. A {link=2219,bitmap} can be used as a button which displays the new popup topic.
  2858.  
  2859. See also\
  2860.     {link=2207,Links}\
  2861.     {link=2215,Edit|Popup}
  2862.  
  2863.  
  2864.  
  2865.  
  2866.  
  2867.  
  2868.  
  2869.  
  2870.  
  2871.  
  2872.  
  2873.  
  2874.  
  2875.  
  2876.  
  2877.  
  2878.  
  2879.  
  2880.  
  2881.  
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887.  
  2888.  
  2889.  
  2890.  
  2891.  
  2892.  
  2893.  
  2894.  
  2895.  
  2896.  
  2897.  
  2898.  
  2899.  
  2900.  
  2901.  
  2902.  
  2903.  
  2904.  
  2905.  
  2906.  
  2907.  
  2908.  
  2909.  
  2910.  
  2911.  
  2912.  
  2913.  
  2914.  
  2915.  
  2916.  
  2917.  
  2918.  
  2919.  
  2920.  
  2921.  
  2922.  
  2923.  
  2924.  
  2925.  
  2926.  
  2927.  
  2928.  
  2929.  
  2930. \end
  2931. 110
  2932. Menu Commands
  2933. menu commands
  2934. commands
  2935. toolbar
  2936.  
  2937.  
  2938. 2
  2939.  
  2940. 0
  2941.  
  2942.  
  2943. Topic Text -----------------------------
  2944. The following menu commands are available:
  2945.  
  2946.    {list=7}{fontsize=25}{bold}File{fontsize=20}{bold}\
  2947.        {link=200,New}\
  2948.    {link=201,bmp=tool1.bmp}    {link=201,Open}\
  2949.        {link=202,Save}\
  2950.        {link=203,Save As}\
  2951.        Project\
  2952.            {link=258,New}\
  2953.            {link=2237,Open}\
  2954.            {link=259,Save}\
  2955.            {link=260,SaveAs}\
  2956.            {link=2238,Files}\
  2957.            {link=2239,Move Topic}\
  2958.        {link=210,Save As TXT}\
  2959.        {link=246,Save As RTF}\
  2960.        {link=2229,Save As WWW}\
  2961.        {link=2217,Open EXE}\
  2962.        {link=2241,Open HLP}\
  2963.        {link=401,WWW Mode}\
  2964.        {link=204,Exit}
  2965.  
  2966.    {fontsize=25}{bold}Edit{fontsize=20}\
  2967.        {link=205,Undo}\
  2968.        {link=206,Cut}\
  2969.        {link=207,Copy}\
  2970.        {link=208,Paste}\
  2971.        {link=209,Delete}\
  2972.    {link=2207,bmp=tool2.bmp}    {link=2207,Link}\
  2973.    {link=2215,bmp=tool3.bmp}    {link=2215,Popup Link}\
  2974.    {link=2214,bmp=tool4.bmp}    {link=2214,Bitmap}\
  2975.        {link=2219,Bitmap Link}\
  2976.        {link=2234,DLL Call}\
  2977.        {link=2233,Embedded Pane}\
  2978.  
  2979.    {fontsize=25}{bold}Search{fontsize=20}\
  2980.        {link=2210,Find}\
  2981.        {link=2209,Replace}\
  2982.        {link=2208,Replace with Link}\
  2983.        {link=213,Next}\
  2984.        {link=2213,Find Error}\
  2985.  
  2986.    {fontsize=25}{bold}Layout{fontsize=20}\
  2987.    {link=2220,bmp=tool5.bmp}    {link=2220,Heading}\
  2988.        {link=2224,List}\
  2989.        {link=240,Line}\
  2990.        {link=241,Box}\
  2991.        {link=242,Centre}\
  2992.        {link=2236,Tab}\
  2993.        {link=247,Keep}\
  2994.  
  2995.    {fontsize=25}{bold}Text{fontsize=20}\
  2996.        {link=2218,Font}\
  2997.        {link=2221,Size}\
  2998.        {link=231,Bold}\
  2999.        {link=232,Italic}\
  3000.        {link=2222,Colour}\
  3001.  
  3002.    {fontsize=25}{bold}Topic{fontsize=20}\
  3003.        {link=214,Next topic}\
  3004.        {link=215,Prev topic}\
  3005.        {link=227,Back}\
  3006.    {link=216,bmp=tool10.bmp}    {link=216,New topic}\
  3007.    {link=2202,bmp=tool6.bmp}    {link=2202,Goto}\
  3008.        {link=228,Goto Unfinished}\
  3009.        {link=218,Delete}\
  3010.        {link=2201,Caption}\
  3011.        {link=220,Contents}\
  3012.        {link=2228,Browse}\
  3013.        {link=221,Status}\
  3014.        {link=2240,Entry Command}\
  3015.    {link=253,bmp=tool7.bmp}    {link=253,Preview}\
  3016.  
  3017.    {fontsize=25}{bold}HelpFile{fontsize=20}\
  3018.    {link=222,bmp=tool8.bmp}    {link=222,Make}\
  3019.    {link=223,bmp=tool9.bmp}    {link=223,Test}\
  3020.        {link=109,Make This Topic}\
  3021.        {link=2204,Directories}\
  3022.        {link=2203,Title}\
  3023.        {link=226,Compress}\
  3024.        {link=2226,Copyright}\
  3025.        {link=2227,Icon}\
  3026.        {link=2205,Status}\
  3027.        {link=2211,Keywords}
  3028.  
  3029.  
  3030.  
  3031.  
  3032. \end
  3033. 2205
  3034. HelpFile|Status
  3035. HelpFile|Status
  3036. Status
  3037.  
  3038.  
  3039. 0
  3040.  
  3041. 0
  3042.  
  3043.  
  3044. Topic Text -----------------------------
  3045. The HelpFile|Status command displays the Project Status dialog. This shows the
  3046. {link=105,Topic number}, {link=108,Caption}, {link=103,Keywords} and 
  3047. {link=221,Status} of each topic.
  3048.  
  3049. The Project Status dialog helps you keep track of how far you've got in developing
  3050. your Help File.
  3051.  
  3052. You may add a short note to each topic to remind you what to do next.
  3053.  
  3054. See also\
  3055.    {link=228,Topic|Goto Unfinished}\
  3056.    {link=221,Topic|Status}
  3057.  
  3058.    {link=222,HelpFile|Make}\
  3059.    {link=223,HelpFile|Test}\
  3060.    {link=109,HelpFile|Make This Topic}\
  3061.    {link=2204,HelpFile|Directories}\
  3062.    {link=2203,HelpFile|Title}\
  3063.    {link=226,HelpFile|Compress}\
  3064.    {link=2226,HelpFile|Copyright}\
  3065.    {link=2227,HelpFile|Icon}\
  3066.    {link=2211,HelpFile|Keywords}\
  3067.    {link=253,Topic|Preview}\
  3068.  
  3069.  
  3070.  
  3071.  
  3072.  
  3073.  
  3074.  
  3075.  
  3076.  
  3077.  
  3078.  
  3079.  
  3080.  
  3081.  
  3082.  
  3083.  
  3084.  
  3085.  
  3086.  
  3087.  
  3088.  
  3089.  
  3090.  
  3091.  
  3092.  
  3093.  
  3094.  
  3095.  
  3096.  
  3097.  
  3098.  
  3099.  
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  
  3105.  
  3106.  
  3107.  
  3108.  
  3109.  
  3110.  
  3111.  
  3112.  
  3113. \end
  3114. 226
  3115. HelpFile|Compress
  3116. HelpFile|Compress
  3117. Compress
  3118.  
  3119.  
  3120. 2
  3121.  
  3122. 0
  3123.  
  3124.  
  3125. Topic Text -----------------------------
  3126. The HelpFile|Compress command toggles whether the {link=111,Help Compiler}
  3127. should compress your {link=107,Help File.}
  3128.  
  3129. The Help Compiler takes longer to compile your file if compression is switched
  3130. on but the resulting Help File is smaller.
  3131.  
  3132. The {link=262,Internal Compiler} does not produce a compressed file. (Certain of the 
  3133. compression techniques have been patented by Microsoft.)
  3134.  
  3135. See also\
  3136.    {link=222,HelpFile|Make}\
  3137.    {link=223,HelpFile|Test}\
  3138.    {link=109,HelpFile|Make This Topic}\
  3139.    {link=2204,HelpFile|Directories}\
  3140.    {link=2203,HelpFile|Title}\
  3141.    {link=2205,HelpFile|Status}\
  3142.    {link=2226,HelpFile|Copyright}\
  3143.    {link=2227,HelpFile|Icon}\
  3144.    {link=2211,HelpFile|Keywords}
  3145.  
  3146.  
  3147.  
  3148.  
  3149. \end
  3150. 2203
  3151. HelpFile|Title
  3152. HelpFile|Title
  3153. Title
  3154.  
  3155.  
  3156. 0
  3157.  
  3158. 0
  3159.  
  3160.  
  3161. Topic Text -----------------------------
  3162. The HelpFile|Title command allows you to specify the title of the {link=107,Help File.} 
  3163.  
  3164. The title is shown on the caption bar of the main window when
  3165. the Help System displays your help file.
  3166.  
  3167. See also\
  3168.    {link=222,HelpFile|Make}\
  3169.    {link=223,HelpFile|Test}\
  3170.    {link=109,HelpFile|Make This Topic}\
  3171.    {link=2204,HelpFile|Directories}\
  3172.    {link=226,HelpFile|Compress}\
  3173.    {link=2226,HelpFile|Copyright}\
  3174.    {link=2227,HelpFile|Icon}\
  3175.    {link=2205,HelpFile|Status}\
  3176.    {link=2211,HelpFile|Keywords}
  3177.  
  3178.  
  3179.  
  3180.  
  3181.  
  3182.  
  3183.  
  3184.  
  3185.  
  3186.  
  3187.  
  3188.  
  3189.  
  3190.  
  3191. \end
  3192. 2204
  3193. HelpFile|Directories
  3194. HelpFile|Directories
  3195. Directories
  3196.  
  3197.  
  3198. 2
  3199.  
  3200. 0
  3201.  
  3202.  
  3203. Topic Text -----------------------------
  3204. The HelpFile|Directories command allows you to specify the directory into which the
  3205. Help (.HLP) File will be copied and to specify whether the {link=262,Internal Compiler} or an 
  3206. External {link=111,Help Compiler} should be used.
  3207.  
  3208. The {link=107,help source file} is always in the current directory but the {link=107,Help File} may be placed in
  3209. any directory. Usually, the help source file will be in same directory as the source 
  3210. of the program you are writing while the Help File will be in same directory as your
  3211. EXE file.
  3212.  
  3213. The External Compiler text box should contain the full path name and program EXE name of
  3214. your help compiler.
  3215.  
  3216. See also\
  3217.    {link=222,HelpFile|Make}\
  3218.    {link=223,HelpFile|Test}\
  3219.    {link=109,HelpFile|Make This Topic}\
  3220.    {link=2203,HelpFile|Title}\
  3221.    {link=226,HelpFile|Compress}\
  3222.    {link=2226,HelpFile|Copyright}\
  3223.    {link=2227,HelpFile|Icon}\
  3224.    {link=2205,HelpFile|Status}\
  3225.    {link=2211,HelpFile|Keywords}
  3226.  
  3227.  
  3228.  
  3229.  
  3230. \end
  3231. 223
  3232. HelpFile|Test
  3233. HelpFile|Test
  3234. Test
  3235.  
  3236.  
  3237. 0
  3238.  
  3239. 0
  3240.  
  3241.  
  3242. Topic Text -----------------------------
  3243. The HelpFile|Test command calls the Help System to display the current topic of the
  3244. current {link=107,Help File.}
  3245.  
  3246. You should have compiled the current {link=107,source} by calling the {link=222,HelpFile|Make}
  3247. command before calling the Test command.
  3248.  
  3249. The Test command can be called with the Ctrl-F1 key.
  3250.  
  3251. See also\
  3252.    {link=222,HelpFile|Make}\
  3253.    {link=109,HelpFile|Make This Topic}\
  3254.    {link=2204,HelpFile|Directories}\
  3255.    {link=2203,HelpFile|Title}\
  3256.    {link=226,HelpFile|Compress}\
  3257.    {link=2226,HelpFile|Copyright}\
  3258.    {link=2227,HelpFile|Icon}\
  3259.    {link=2205,HelpFile|Status}\
  3260.    {link=2211,HelpFile|Keywords}
  3261.  
  3262.  
  3263.  
  3264.  
  3265.  
  3266.  
  3267.  
  3268.  
  3269.  
  3270.  
  3271.  
  3272.  
  3273.  
  3274.  
  3275. \end
  3276. 109
  3277. HelpFile|Make This Topic
  3278. HelpFile|Make This Topic
  3279. Make This Topic
  3280. Make
  3281.  
  3282.  
  3283. 2
  3284.  
  3285. 0
  3286.  
  3287.  
  3288. Topic Text -----------------------------
  3289. The HelpFile|Make command compiles the current topic (not the whole source)
  3290. into a {link=107,Help File.} 
  3291.  
  3292. If the "Internal Compiler " button has been selected in the {link=2204,HelpFile|Directories}
  3293. dialog EditHelp uses the {link=262,Internal Compiler.}
  3294.  
  3295. Otherwise, EditHelp saves the current topic 
  3296. as a Rich Text Format file and a Help Project file.
  3297.  
  3298. It then executes the {link=111,Help Compiler} which compiles these into
  3299. the {link=107,Help File}:
  3300.  
  3301.     <directory><filename>.hlp
  3302.  
  3303. where <filename> is the name of the current {link=107,help source file} and <directory>
  3304. is the 'Help File Directory' specified by the {link=2204,HelpFile|Directories} command.
  3305.  
  3306. You can then test the current topic by calling the {link=223,HelpFile|Test} command.
  3307.  
  3308. The {link=222,HelpFile|Make} command creates a Help File for all the topics. However,
  3309. the Help Compiler is very slow when compiling large projects. So if you want to test
  3310. a single topic, you should use the HelpFile|Make This Topic command.
  3311.  
  3312. See also\
  3313.    {link=222,HelpFile|Make}\
  3314.    {link=223,HelpFile|Test}\
  3315.    {link=2204,HelpFile|Directories}\
  3316.    {link=2203,HelpFile|Title}\
  3317.    {link=226,HelpFile|Compress}\
  3318.    {link=2226,HelpFile|Copyright}\
  3319.    {link=2227,HelpFile|Icon}\
  3320.    {link=2205,HelpFile|Status}\
  3321.    {link=2211,HelpFile|Keywords}
  3322.  
  3323.  
  3324.  
  3325.  
  3326. \end
  3327. 222
  3328. HelpFile|Make
  3329. HelpFile|Make
  3330. Make
  3331.  
  3332.  
  3333. 2
  3334.  
  3335. 0
  3336.  
  3337.  
  3338. Topic Text -----------------------------
  3339. The HelpFile|Make command compiles the {link=107,help source} into a {link=107,Help File.} 
  3340.  
  3341. If the "Internal Compiler " button has been selected in the {link=2204,HelpFile|Directories}
  3342. dialog EditHelp uses the {link=262,Internal Compiler.}
  3343.  
  3344. Otherwise, EditHelp saves the {link=107,help source} as the Rich Text Format file
  3345.  
  3346.     ~out.rtf
  3347.  
  3348. and creates a Help Project file:
  3349.  
  3350.     ~out.hpj
  3351.  
  3352. EditHelp then executes the {link=111,Help Compiler} which compiles ~out.rtf into
  3353. the help file
  3354.  
  3355.     ~out.hlp
  3356.  
  3357. This {link=107,Help File} is copied to
  3358.  
  3359.     <directory><filename>.hlp
  3360.  
  3361. where <filename> is the name of the current {link=107,help source file} and <directory>
  3362. is the 'Help File Directory' specified by the {link=2204,HelpFile|Directories} command.
  3363.  
  3364. All the ~out files are then deleted.
  3365.  
  3366. The external Help Compiler is a DOS program so EditHelp creates a DOS batch file. The batch
  3367. file pauses after the Help Compiler has executed so you can see whether the compiler
  3368. generated any error messages. Press any (printable) key to continue execution.
  3369.  
  3370. The Make command can be called with the F9 key.
  3371.  
  3372. See also\
  3373.    {link=223,HelpFile|Test}\
  3374.    {link=109,HelpFile|Make This Topic}\
  3375.    {link=2204,HelpFile|Directories}\
  3376.    {link=2203,HelpFile|Title}\
  3377.    {link=226,HelpFile|Compress}\
  3378.    {link=2226,HelpFile|Copyright}\
  3379.    {link=2227,HelpFile|Icon}\
  3380.    {link=2205,HelpFile|Status}\
  3381.    {link=2211,HelpFile|Keywords}
  3382.  
  3383.  
  3384.  
  3385. \end
  3386. 221
  3387. Topic|Status
  3388. Topic|Status
  3389. Status
  3390.  
  3391.  
  3392. 0
  3393.  
  3394. 11
  3395. TopicMenu
  3396.  
  3397. Topic Text -----------------------------
  3398. The Topic|Status command cycles through the status values for the current   
  3399. {link=106,topic.} The status value can be one of:
  3400.  
  3401.     Incomplete\
  3402.     Test\
  3403.     Finished
  3404.  
  3405. The Status value has no effect on the operation of EditHelp but allows you 
  3406. to keep track of which parts of the help source have been completed.
  3407.  
  3408. You can also call the Topic|Status command by clicking on the status area of the 
  3409. main window.
  3410.  
  3411. See also\
  3412.    {link=2205,HelpFile|Status}
  3413.  
  3414.    {link=214,Topic|Next topic}\
  3415.    {link=215,Topic|Prev topic}\
  3416.    {link=227,Topic|Back}\
  3417.    {link=216,Topic|New topic}\
  3418.    {link=2202,Topic|Goto}\
  3419.    {link=228,Topic|Goto Unfinished}\
  3420.    {link=218,Topic|Delete}\
  3421.    {link=2201,Topic|Caption}\
  3422.    {link=220,Topic|Contents}\
  3423.    {link=2228,Topic|Browse}\
  3424.    {link=2240,Topic|Entry Command}\
  3425.    {link=253,Topic|Preview}\
  3426.  
  3427.  
  3428.  
  3429.  
  3430.  
  3431.  
  3432.  
  3433.  
  3434.  
  3435.  
  3436. \end
  3437. 220
  3438. Topic|Contents
  3439. Topic|Contents
  3440. Contents
  3441.  
  3442.  
  3443. 0
  3444.  
  3445. 4
  3446. TopicMenu
  3447.  
  3448. Topic Text -----------------------------
  3449. The Topic|Contents command toggles whether the current {link=106,topic} is the  
  3450. Contents topic. The Help System displays the Contents topic when the user
  3451. selects the Contents command.
  3452.  
  3453. Only one topic can have the Contents switch set to True. If you toggle the
  3454. Contents command, all the other topics will have their Contents switch set to False. 
  3455.  
  3456. See also\
  3457.    {link=214,Topic|Next topic}\
  3458.    {link=215,Topic|Prev topic}\
  3459.    {link=227,Topic|Back}\
  3460.    {link=216,Topic|New topic}\
  3461.    {link=2202,Topic|Goto}\
  3462.    {link=228,Topic|Goto Unfinished}\
  3463.    {link=218,Topic|Delete}\
  3464.    {link=2201,Topic|Caption}\
  3465.    {link=2228,Topic|Browse}\
  3466.    {link=221,Topic|Status}\
  3467.    {link=2240,Topic|Entry Command}\
  3468.    {link=253,Topic|Preview}\
  3469.  
  3470.  
  3471.  
  3472.  
  3473.  
  3474.  
  3475.  
  3476.  
  3477.  
  3478.  
  3479. \end
  3480. 2201
  3481. Topic|Caption
  3482. Topic|Caption
  3483. Caption
  3484.  
  3485.  
  3486. 0
  3487.  
  3488. 3
  3489. TopicMenu
  3490.  
  3491. Topic Text -----------------------------
  3492. The Topic|Caption command changes the 
  3493. {link=105,topic number}, {link=108,caption} and {link=103,keywords} of the current
  3494. {link=106,topic.}
  3495.  
  3496. You can also call the Topic|Caption command by clicking on the caption area of the 
  3497. main window.
  3498.  
  3499. See also\
  3500.    {link=214,Topic|Next topic}\
  3501.    {link=215,Topic|Prev topic}\
  3502.    {link=227,Topic|Back}\
  3503.    {link=216,Topic|New topic}\
  3504.    {link=2202,Topic|Goto}\
  3505.    {link=228,Topic|Goto Unfinished}\
  3506.    {link=218,Topic|Delete}\
  3507.    {link=220,Topic|Contents}\
  3508.    {link=2228,Topic|Browse}\
  3509.    {link=221,Topic|Status}\
  3510.    {link=2240,Topic|Entry Command}\
  3511.    {link=253,Topic|Preview}\
  3512.  
  3513.  
  3514.  
  3515.  
  3516.  
  3517.  
  3518.  
  3519.  
  3520.  
  3521.  
  3522. \end
  3523. 218
  3524. Topic|Delete
  3525. Topic|Delete
  3526. Delete
  3527.  
  3528.  
  3529. 0
  3530.  
  3531. 5
  3532. TopicMenu
  3533.  
  3534. Topic Text -----------------------------
  3535. The Topic|Delete command deletes the current {link=106,topic} from the help source.  
  3536.  
  3537. See also\
  3538.    {link=214,Topic|Next topic}\
  3539.    {link=215,Topic|Prev topic}\
  3540.    {link=227,Topic|Back}\
  3541.    {link=216,Topic|New topic}\
  3542.    {link=2202,Topic|Goto}\
  3543.    {link=228,Topic|Goto Unfinished}\
  3544.    {link=2201,Topic|Caption}\
  3545.    {link=220,Topic|Contents}\
  3546.    {link=2228,Topic|Browse}\
  3547.    {link=221,Topic|Status}\
  3548.    {link=2240,Topic|Entry Command}\
  3549.    {link=253,Topic|Preview}\
  3550.  
  3551.  
  3552.  
  3553.  
  3554.  
  3555.  
  3556.  
  3557.  
  3558.  
  3559.  
  3560. \end
  3561. 2202
  3562. Topic|Goto
  3563. Topic|Goto
  3564. Goto
  3565.  
  3566.  
  3567. 0
  3568.  
  3569. 6
  3570. TopicMenu
  3571.  
  3572. Topic Text -----------------------------
  3573. The Topic|Goto command allows you to select a new {link=106,topic} from the topic list 
  3574. and load it into the Edit window. 
  3575.  
  3576. You may select the topic by {link=105,topic number}, {link=108,caption} 
  3577. or {link=103,Keywords.}
  3578.  
  3579. See also\
  3580.    {link=214,Topic|Next topic}\
  3581.    {link=215,Topic|Prev topic}\
  3582.    {link=227,Topic|Back}\
  3583.    {link=216,Topic|New topic}\
  3584.    {link=228,Topic|Goto Unfinished}\
  3585.    {link=218,Topic|Delete}\
  3586.    {link=2201,Topic|Caption}\
  3587.    {link=220,Topic|Contents}\
  3588.    {link=2228,Topic|Browse}\
  3589.    {link=221,Topic|Status}\
  3590.    {link=2240,Topic|Entry Command}\
  3591.    {link=253,Topic|Preview}\
  3592.  
  3593.  
  3594.  
  3595.  
  3596.  
  3597.  
  3598.  
  3599.  
  3600.  
  3601.  
  3602. \end
  3603. 216
  3604. Topic|New topic
  3605. Topic|New topic
  3606.  
  3607.  
  3608. 0
  3609.  
  3610. 8
  3611. TopicMenu
  3612.  
  3613. Topic Text -----------------------------
  3614. The Topic|New Topic command creates a new {link=106,topic.}  
  3615. Each topic should have a unique {link=105,topic number.}
  3616.  
  3617. See also\
  3618.    {link=214,Topic|Next topic}\
  3619.    {link=215,Topic|Prev topic}\
  3620.    {link=227,Topic|Back}\
  3621.    {link=2202,Topic|Goto}\
  3622.    {link=228,Topic|Goto Unfinished}\
  3623.    {link=218,Topic|Delete}\
  3624.    {link=2201,Topic|Caption}\
  3625.    {link=220,Topic|Contents}\
  3626.    {link=2228,Topic|Browse}\
  3627.    {link=221,Topic|Status}\
  3628.    {link=2240,Topic|Entry Command}\
  3629.    {link=253,Topic|Preview}\
  3630.  
  3631.  
  3632.  
  3633.  
  3634.  
  3635.  
  3636.  
  3637.  
  3638.  
  3639.  
  3640. \end
  3641. 215
  3642. Topic|Prev topic
  3643. Topic|Prev topic
  3644.  
  3645.  
  3646. 0
  3647.  
  3648. 10
  3649. TopicMenu
  3650.  
  3651. Topic Text -----------------------------
  3652. The Topic|Prev Topic command displays the previous {link=106,topic} in the topic list  
  3653. in the Edit window.
  3654.  
  3655. The Prev topic command can be called with the Shift-F6 key.
  3656.  
  3657. See also\
  3658.    {link=214,Topic|Next topic}\
  3659.    {link=227,Topic|Back}\
  3660.    {link=216,Topic|New topic}\
  3661.    {link=2202,Topic|Goto}\
  3662.    {link=228,Topic|Goto Unfinished}\
  3663.    {link=218,Topic|Delete}\
  3664.    {link=2201,Topic|Caption}\
  3665.    {link=220,Topic|Contents}\
  3666.    {link=2228,Topic|Browse}\
  3667.    {link=221,Topic|Status}\
  3668.    {link=2240,Topic|Entry Command}\
  3669.    {link=253,Topic|Preview}\
  3670.  
  3671.  
  3672.  
  3673.  
  3674.  
  3675.  
  3676.  
  3677.  
  3678.  
  3679.  
  3680. \end
  3681. 214
  3682. Topic|Next topic
  3683. Topic|Next topic
  3684.  
  3685.  
  3686. 0
  3687.  
  3688. 9
  3689. TopicMenu
  3690.  
  3691. Topic Text -----------------------------
  3692. The Topic|Next Topic command displays the next {link=106,topic} in the topic list  
  3693. in the Edit window.
  3694.  
  3695. The Next topic command can be called with the F6 key.
  3696.  
  3697. See also\
  3698.    {link=215,Topic|Prev topic}\
  3699.    {link=227,Topic|Back}\
  3700.    {link=216,Topic|New topic}\
  3701.    {link=2202,Topic|Goto}\
  3702.    {link=228,Topic|Goto Unfinished}\
  3703.    {link=218,Topic|Delete}\
  3704.    {link=2201,Topic|Caption}\
  3705.    {link=220,Topic|Contents}\
  3706.    {link=2228,Topic|Browse}\
  3707.    {link=221,Topic|Status}\
  3708.    {link=2240,Topic|Entry Command}\
  3709.    {link=253,Topic|Preview}\
  3710.  
  3711.  
  3712.  
  3713.  
  3714.  
  3715.  
  3716.  
  3717.  
  3718.  
  3719.  
  3720. \end
  3721. 213
  3722. Search|Next
  3723. Search|Next
  3724. Next
  3725.  
  3726.  
  3727. 0
  3728.  
  3729. 0
  3730.  
  3731.  
  3732. Topic Text -----------------------------
  3733. The Search|Next command 
  3734. repeats the last search or replace operation without opening the Find dialog box. 
  3735.  
  3736. The Next command can be called with the F3 key.
  3737.  
  3738. See also\
  3739.    {link=2210,Search|Find}\
  3740.    {link=2209,Search|Replace}\
  3741.    {link=2208,Search|Replace with Link}\
  3742.    {link=2213,Search|Find Error}
  3743.  
  3744.  
  3745.  
  3746.  
  3747.  
  3748.  
  3749.  
  3750.  
  3751.  
  3752.  
  3753.  
  3754.  
  3755.  
  3756.  
  3757.  
  3758.  
  3759.  
  3760.  
  3761.  
  3762.  
  3763.  
  3764.  
  3765.  
  3766.  
  3767.  
  3768.  
  3769.  
  3770.  
  3771.  
  3772.  
  3773.  
  3774.  
  3775.  
  3776.  
  3777.  
  3778.  
  3779.  
  3780.  
  3781.  
  3782.  
  3783.  
  3784.  
  3785.  
  3786.  
  3787.  
  3788.  
  3789.  
  3790.  
  3791.  
  3792.  
  3793.  
  3794.  
  3795.  
  3796.  
  3797.  
  3798.  
  3799.  
  3800.  
  3801.  
  3802.  
  3803.  
  3804.  
  3805.  
  3806.  
  3807.  
  3808.  
  3809.  
  3810.  
  3811. \end
  3812. 2209
  3813. Search|Replace
  3814. Search|Replace
  3815. Replace
  3816.  
  3817.  
  3818. 0
  3819.  
  3820. 0
  3821.  
  3822.  
  3823. Topic Text -----------------------------
  3824. The Search|Replace command searches for and changes text in the current
  3825. {link=106,topic.} 
  3826. During the search, you can match uppercase and lowercase letters or 
  3827. ignore case. 
  3828.  
  3829. If the 'all occurrences' box is checked then all the occurrences of the
  3830. search string will be replaced in the current topic.
  3831.  
  3832. If you select the 'All Topics' button then the search will start with the first topic
  3833. in the topic list and will be extended to all the topics in the list.
  3834. If the 'all occurrences' box is checked then all the occurrences of the
  3835. search string will be replaced in all topics.
  3836. If the 'all occurrences' box is not checked then only the first occurrence 
  3837. to be found will be replaced.
  3838.  
  3839. See also\
  3840.    {link=2210,Search|Find}\
  3841.    {link=2208,Search|Replace with Link}\
  3842.    {link=213,Search|Next}\
  3843.    {link=2213,Search|Find Error}
  3844.  
  3845.  
  3846.  
  3847.  
  3848.  
  3849.  
  3850.  
  3851.  
  3852.  
  3853.  
  3854.  
  3855.  
  3856.  
  3857.  
  3858. \end
  3859. 2210
  3860. Search|Find
  3861. Search|Find
  3862. Find
  3863.  
  3864.  
  3865. 0
  3866.  
  3867. 0
  3868.  
  3869.  
  3870. Topic Text -----------------------------
  3871. The Search|Find command
  3872. searches for characters or words in the text of the 
  3873. current {link=106,topic.} 
  3874. You can match uppercase and lowercase letters or ignore case. 
  3875.  
  3876. If you select the 'All Topics' button then the search will start with the first topic
  3877. in the topic list and will be extended to all the topics in the list.
  3878.  
  3879. See also\
  3880.    {link=2209,Search|Replace}\
  3881.    {link=2208,Search|Replace with Link}\
  3882.    {link=213,Search|Next}\
  3883.    {link=2213,Search|Find Error}
  3884.  
  3885.  
  3886.  
  3887.  
  3888.  
  3889.  
  3890.  
  3891.  
  3892.  
  3893.  
  3894.  
  3895.  
  3896.  
  3897.  
  3898. \end
  3899. 209
  3900. Edit|Delete
  3901. Edit|Delete
  3902. Delete
  3903.  
  3904.  
  3905. 0
  3906.  
  3907. 0
  3908.  
  3909.  
  3910. Topic Text -----------------------------
  3911. The Edit|Delete command 
  3912. deletes the selected text from the current {link=106,topic}, 
  3913. but does not place the text onto the Clipboard. 
  3914.  
  3915. Use Delete when you want to delete text from the current 
  3916. topic but you have 
  3917. text on the Clipboard that you want to keep. 
  3918.  
  3919. The Delete command can be called with the Del key.
  3920.  
  3921. See also\
  3922.    {link=205,Edit|Undo}\
  3923.    {link=206,Edit|Cut}\
  3924.    {link=207,Edit|Copy}\
  3925.    {link=208,Edit|Paste}\
  3926.    {link=2207,Edit|Link}\
  3927.    {link=2215,Edit|Popup}\
  3928.    {link=2214,Edit|Bitmap}\
  3929.    {link=2234,Edit|DLL Call}\
  3930.    {link=2233,Edit|Embedded Pane}\
  3931.  
  3932.  
  3933.  
  3934.  
  3935.  
  3936.  
  3937.  
  3938.  
  3939.  
  3940.  
  3941.  
  3942.  
  3943.  
  3944.  
  3945.  
  3946.  
  3947.  
  3948.  
  3949.  
  3950.  
  3951.  
  3952.  
  3953.  
  3954.  
  3955.  
  3956.  
  3957.  
  3958.  
  3959.  
  3960.  
  3961.  
  3962.  
  3963.  
  3964.  
  3965.  
  3966.  
  3967.  
  3968.  
  3969.  
  3970.  
  3971.  
  3972.  
  3973.  
  3974.  
  3975.  
  3976.  
  3977.  
  3978.  
  3979. \end
  3980. 208
  3981. Edit|Paste
  3982. Edit|Paste
  3983. Paste
  3984.  
  3985.  
  3986. 0
  3987.  
  3988. 0
  3989.  
  3990.  
  3991. Topic Text -----------------------------
  3992. The Edit|Paste command 
  3993. pastes a copy of the Clipboard contents at the insertion point or replaces 
  3994. selected text in the current {link=106,topic.}
  3995.  
  3996. The Paste command can be called with the Shift+Ins key.
  3997.  
  3998. See also\
  3999.    {link=205,Edit|Undo}\
  4000.    {link=206,Edit|Cut}\
  4001.    {link=207,Edit|Copy}\
  4002.    {link=209,Edit|Delete}\
  4003.    {link=2207,Edit|Link}\
  4004.    {link=2215,Edit|Popup}\
  4005.    {link=2214,Edit|Bitmap}\
  4006.    {link=2234,Edit|DLL Call}\
  4007.    {link=2233,Edit|Embedded Pane}\
  4008.  
  4009.  
  4010.  
  4011.  
  4012.  
  4013.  
  4014.  
  4015.  
  4016.  
  4017.  
  4018.  
  4019.  
  4020.  
  4021.  
  4022. \end
  4023. 207
  4024. Edit|Copy
  4025. Edit|Copy
  4026. Copy
  4027.  
  4028.  
  4029. 0
  4030.  
  4031. 0
  4032.  
  4033.  
  4034. Topic Text -----------------------------
  4035. The Edit|Copy command 
  4036. copies 
  4037. the selected 
  4038. text from the current {link=106,topic} onto the Clipboard, leaving the original intact 
  4039. and replacing 
  4040. the previous Clipboard contents. 
  4041.  
  4042. The Copy command can be called with the Ctrl+Ins key.
  4043.  
  4044. See also\
  4045.    {link=205,Edit|Undo}\
  4046.    {link=206,Edit|Cut}\
  4047.    {link=208,Edit|Paste}\
  4048.    {link=209,Edit|Delete}\
  4049.    {link=2207,Edit|Link}\
  4050.    {link=2215,Edit|Popup}\
  4051.    {link=2214,Edit|Bitmap}\
  4052.    {link=2234,Edit|DLL Call}\
  4053.    {link=2233,Edit|Embedded Pane}\
  4054.  
  4055.  
  4056.  
  4057.  
  4058.  
  4059.  
  4060.  
  4061.  
  4062.  
  4063.  
  4064.  
  4065.  
  4066.  
  4067.  
  4068.  
  4069.  
  4070.  
  4071.  
  4072.  
  4073.  
  4074.  
  4075.  
  4076.  
  4077.  
  4078.  
  4079.  
  4080.  
  4081.  
  4082.  
  4083.  
  4084.  
  4085.  
  4086.  
  4087.  
  4088.  
  4089.  
  4090.  
  4091.  
  4092.  
  4093.  
  4094.  
  4095.  
  4096.  
  4097.  
  4098.  
  4099.  
  4100.  
  4101.  
  4102. \end
  4103. 206
  4104. Edit|Cut
  4105. Edit|Cut
  4106. Cut
  4107.  
  4108.  
  4109. 0
  4110.  
  4111. 0
  4112.  
  4113.  
  4114. Topic Text -----------------------------
  4115. The Edit|Cut command 
  4116. deletes the selected text from the current {link=106,topic} and places it onto the Clipboard, 
  4117. replacing the previous Clipboard contents. 
  4118.  
  4119. The Cut command can be called with the Shift+Del key.
  4120.  
  4121. See also\
  4122.    {link=205,Edit|Undo}\
  4123.    {link=207,Edit|Copy}\
  4124.    {link=208,Edit|Paste}\
  4125.    {link=209,Edit|Delete}\
  4126.    {link=2207,Edit|Link}\
  4127.    {link=2215,Edit|Popup}\
  4128.    {link=2214,Edit|Bitmap}\
  4129.    {link=2234,Edit|DLL Call}\
  4130.    {link=2233,Edit|Embedded Pane}\
  4131.  
  4132.  
  4133.  
  4134.  
  4135.  
  4136.  
  4137.  
  4138.  
  4139.  
  4140.  
  4141.  
  4142.  
  4143.  
  4144.  
  4145.  
  4146.  
  4147.  
  4148.  
  4149.  
  4150.  
  4151.  
  4152.  
  4153.  
  4154.  
  4155.  
  4156.  
  4157.  
  4158.  
  4159.  
  4160.  
  4161.  
  4162.  
  4163.  
  4164.  
  4165.  
  4166.  
  4167.  
  4168.  
  4169.  
  4170.  
  4171.  
  4172.  
  4173.  
  4174.  
  4175.  
  4176.  
  4177.  
  4178.  
  4179. \end
  4180. 205
  4181. Edit|Undo
  4182. Edit|Undo
  4183. Undo
  4184.  
  4185.  
  4186. 0
  4187.  
  4188. 0
  4189.  
  4190.  
  4191. Topic Text -----------------------------
  4192. The Edit|Undo command 
  4193. undoes your last editing action, including cut and paste actions. 
  4194.  
  4195. Undo only works with actions performed on the help source text in the Edit window.
  4196.  
  4197. The Undo command can be called with the Alt+BkSp key.
  4198.  
  4199. See also\
  4200.    {link=206,Edit|Cut}\
  4201.    {link=207,Edit|Copy}\
  4202.    {link=208,Edit|Paste}\
  4203.    {link=209,Edit|Delete}\
  4204.    {link=2207,Edit|Link}\
  4205.    {link=2215,Edit|Popup}\
  4206.    {link=2214,Edit|Bitmap}\
  4207.    {link=2234,Edit|DLL Call}\
  4208.    {link=2233,Edit|Embedded Pane}\
  4209.  
  4210.  
  4211.  
  4212.  
  4213.  
  4214.  
  4215.  
  4216.  
  4217.  
  4218.  
  4219.  
  4220.  
  4221.  
  4222.  
  4223.  
  4224.  
  4225.  
  4226.  
  4227.  
  4228.  
  4229.  
  4230.  
  4231.  
  4232.  
  4233.  
  4234.  
  4235.  
  4236.  
  4237.  
  4238.  
  4239.  
  4240.  
  4241.  
  4242.  
  4243.  
  4244.  
  4245.  
  4246.  
  4247.  
  4248.  
  4249.  
  4250.  
  4251.  
  4252.  
  4253.  
  4254.  
  4255.  
  4256.  
  4257. \end
  4258. 204
  4259. File|Exit
  4260. File|Exit
  4261. Exit
  4262.  
  4263.  
  4264. 0
  4265.  
  4266. 0
  4267.  
  4268.  
  4269. Topic Text -----------------------------
  4270. The File|Exit command exits from the EditHelp program. If you've 
  4271. made changes to the {link=107,help source}, you will be asked if you want to save
  4272. them.
  4273.  
  4274. See also\
  4275.    {link=200,File|New}\
  4276.    {link=201,File|Open}\
  4277.    {link=202,File|Save}\
  4278.    {link=203,File|Save As}\
  4279.    {link=258,File|Project|New}\
  4280.    {link=2237,File|Project|Open}\
  4281.    {link=259,File|Project|Save}\
  4282.    {link=260,File|Project|SaveAs}\
  4283.    {link=2238,File|Project|Files}\
  4284.    {link=2239,File|Project|Move Topic}\
  4285.    {link=210,File|Save As TXT}\
  4286.    {link=246,File|Save As RTF}\
  4287.    {link=2229,File|Save As WWW}\
  4288.    {link=2217,File|Open EXE}\
  4289.    {link=401,File|WWW Mode}\
  4290.  
  4291.  
  4292.  
  4293.  
  4294.  
  4295.  
  4296.  
  4297.  
  4298.  
  4299.  
  4300.  
  4301.  
  4302.  
  4303.  
  4304.  
  4305.  
  4306.  
  4307.  
  4308.  
  4309.  
  4310.  
  4311.  
  4312.  
  4313.  
  4314.  
  4315.  
  4316.  
  4317.  
  4318. \end
  4319. 203
  4320. File|Save As
  4321. File|Save As
  4322. Save As
  4323.  
  4324.  
  4325. 0
  4326.  
  4327. 0
  4328.  
  4329.  
  4330. Topic Text -----------------------------
  4331. The File|Save As command saves the current help source to a file. 
  4332. The Save As dialog allows you to choose the name of the file.
  4333.  
  4334. {link=107,Help source files} have the extension '.EDH'.
  4335.  
  4336. See also\
  4337.    {link=200,File|New}\
  4338.    {link=201,File|Open}\
  4339.    {link=202,File|Save}\
  4340.    {link=258,File|Project|New}\
  4341.    {link=2237,File|Project|Open}\
  4342.    {link=259,File|Project|Save}\
  4343.    {link=260,File|Project|SaveAs}\
  4344.    {link=2238,File|Project|Files}\
  4345.    {link=2239,File|Project|Move Topic}\
  4346.    {link=210,File|Save As TXT}\
  4347.    {link=246,File|Save As RTF}\
  4348.    {link=2229,File|Save As WWW}\
  4349.    {link=2217,File|Open EXE}\
  4350.    {link=401,File|WWW Mode}\
  4351.    {link=204,File|Exit}
  4352.  
  4353.  
  4354.  
  4355.  
  4356.  
  4357.  
  4358.  
  4359.  
  4360.  
  4361.  
  4362.  
  4363.  
  4364.  
  4365.  
  4366.  
  4367.  
  4368.  
  4369.  
  4370.  
  4371.  
  4372.  
  4373.  
  4374.  
  4375.  
  4376.  
  4377.  
  4378.  
  4379.  
  4380. \end
  4381. 202
  4382. File|Save
  4383. File|Save
  4384. Save
  4385.  
  4386.  
  4387. 0
  4388.  
  4389. 0
  4390.  
  4391.  
  4392. Topic Text -----------------------------
  4393. The File|Save command saves the current help source to a file.
  4394. {link=107,Help source files} have the extension '.EDH'.
  4395.  
  4396. If the current help source hasn't been named yet, EditHelp displays the 
  4397. {link=203,Save File As} dialog box.
  4398.  
  4399. See also\
  4400.    {link=200,File|New}\
  4401.    {link=201,File|Open}\
  4402.    {link=203,File|Save As}\
  4403.    {link=258,File|Project|New}\
  4404.    {link=2237,File|Project|Open}\
  4405.    {link=259,File|Project|Save}\
  4406.    {link=260,File|Project|SaveAs}\
  4407.    {link=2238,File|Project|Files}\
  4408.    {link=2239,File|Project|Move Topic}\
  4409.    {link=210,File|Save As TXT}\
  4410.    {link=246,File|Save As RTF}\
  4411.    {link=2229,File|Save As WWW}\
  4412.    {link=2217,File|Open EXE}\
  4413.    {link=401,File|WWW Mode}\
  4414.    {link=204,File|Exit}
  4415.  
  4416.  
  4417.  
  4418.  
  4419.  
  4420.  
  4421.  
  4422.  
  4423.  
  4424.  
  4425.  
  4426.  
  4427.  
  4428.  
  4429.  
  4430.  
  4431.  
  4432.  
  4433.  
  4434.  
  4435.  
  4436.  
  4437.  
  4438.  
  4439.  
  4440.  
  4441.  
  4442.  
  4443. \end
  4444. 201
  4445. File|Open
  4446. File|Open
  4447. Open
  4448.  
  4449.  
  4450. 0
  4451.  
  4452. 0
  4453.  
  4454.  
  4455. Topic Text -----------------------------
  4456. The File|Open command opens an existing {link=107,help source file} that was created 
  4457. using EditHelp. Help source files 
  4458. have the extension '.EDH'.
  4459.  
  4460. The File|Open command displays the File Open dialog box.
  4461.  
  4462. See also\
  4463.    {link=200,File|New}\
  4464.    {link=202,File|Save}\
  4465.    {link=203,File|Save As}\
  4466.    {link=258,File|Project|New}\
  4467.    {link=2237,File|Project|Open}\
  4468.    {link=259,File|Project|Save}\
  4469.    {link=260,File|Project|SaveAs}\
  4470.    {link=2238,File|Project|Files}\
  4471.    {link=2239,File|Project|Move Topic}\
  4472.    {link=210,File|Save As TXT}\
  4473.    {link=246,File|Save As RTF}\
  4474.    {link=2229,File|Save As WWW}\
  4475.    {link=2217,File|Open EXE}\
  4476.    {link=401,File|WWW Mode}\
  4477.    {link=204,File|Exit}
  4478.  
  4479.  
  4480.  
  4481.  
  4482.  
  4483.  
  4484.  
  4485.  
  4486.  
  4487.  
  4488.  
  4489.  
  4490.  
  4491.  
  4492.  
  4493.  
  4494.  
  4495.  
  4496.  
  4497.  
  4498.  
  4499.  
  4500.  
  4501.  
  4502.  
  4503.  
  4504.  
  4505.  
  4506. \end
  4507. 200
  4508. File|New
  4509. File|New
  4510. New
  4511.  
  4512.  
  4513. 0
  4514.  
  4515. 0
  4516.  
  4517.  
  4518. Topic Text -----------------------------
  4519. The File|New command creates a new help source with one empty {link=106,topic.} 
  4520.  
  4521. See also\
  4522.    {link=201,File|Open}\
  4523.    {link=202,File|Save}\
  4524.    {link=203,File|Save As}\
  4525.    {link=258,File|Project|New}\
  4526.    {link=2237,File|Project|Open}\
  4527.    {link=259,File|Project|Save}\
  4528.    {link=260,File|Project|SaveAs}\
  4529.    {link=2238,File|Project|Files}\
  4530.    {link=2239,File|Project|Move Topic}\
  4531.    {link=210,File|Save As TXT}\
  4532.    {link=246,File|Save As RTF}\
  4533.    {link=2229,File|Save As WWW}\
  4534.    {link=2217,File|Open EXE}\
  4535.    {link=401,File|WWW Mode}\
  4536.    {link=204,File|Exit}
  4537.  
  4538.  
  4539.  
  4540.  
  4541.  
  4542.  
  4543.  
  4544.  
  4545.  
  4546.  
  4547.  
  4548.  
  4549.  
  4550.  
  4551. \end
  4552. 108
  4553. Caption
  4554. caption
  4555.  
  4556.  
  4557. 0
  4558.  
  4559. 0
  4560.  
  4561.  
  4562. Topic Text -----------------------------
  4563. Every {link=106,topic} may optionally have a Caption. The Windows 
  4564. help system will display the caption in
  4565. larger bold text at the head of the topic screen.
  4566.  
  4567. {link=116,Popup} topic captions are usually blank.
  4568.  
  4569. You can change the caption by selecting the {link=2201,Topic|Caption} command.
  4570.  
  4571.  
  4572.  
  4573.  
  4574.  
  4575.  
  4576.  
  4577.  
  4578.  
  4579.  
  4580.  
  4581.  
  4582.  
  4583.  
  4584.  
  4585.  
  4586.  
  4587.  
  4588.  
  4589.  
  4590.  
  4591.  
  4592.  
  4593.  
  4594.  
  4595.  
  4596.  
  4597.  
  4598.  
  4599.  
  4600.  
  4601.  
  4602.  
  4603.  
  4604.  
  4605.  
  4606.  
  4607.  
  4608.  
  4609.  
  4610.  
  4611.  
  4612.  
  4613.  
  4614.  
  4615. \end
  4616. 107
  4617. Files
  4618. files
  4619. help file
  4620. source file
  4621.  
  4622.  
  4623. 0
  4624.  
  4625. 0
  4626.  
  4627.  
  4628. Topic Text -----------------------------
  4629. EditHelp can read or write several different file formats:
  4630.  
  4631.  
  4632. {heading=Source file: EDH}
  4633.  
  4634. The input to the EditHelp program is a 'source file'. A source file has  
  4635. the extension '.EDH'.
  4636.  
  4637. You may examine the source file using any plain ASCII text editor but be careful
  4638. not to disturb its format.
  4639.  
  4640.  
  4641. {heading=Help file: HLP}
  4642.  
  4643. When you select the {link=222,HelpFile|Make} command, EditHelp
  4644. writes the contents of the source file as a Rich Text Format file and a {link=243,Help Project File.}
  4645. It then executes the {link=111,Help Compiler} which compiles these into a Help File.
  4646.  
  4647. The Help File file is created as:
  4648.  
  4649.     <directory><filename>.hlp
  4650.  
  4651. where <filename> is the name of the current help source file (or {link=257,Project file}) and <directory>
  4652. is the 'Help File Directory' specified by the {link=2204,HelpFile|Directories} command.
  4653.  
  4654.  
  4655. {heading=Help Project file: HPJ}
  4656.  
  4657. The {link=111,Help Compiler} requires a Help Project file to direct the compilation of the
  4658. Rich Text Format file to a Help File.
  4659.  
  4660. You can specify {link=243,extra text} to be inserted into the Help Project file.
  4661.  
  4662. (Do not confuse the {link=243,Help Project File} - HPJ - with a {link=257,Project file} - EHP.)
  4663.  
  4664.  
  4665. {heading=Help Project Extra files: EPJ}
  4666.  
  4667. A Help Project file consists of various sections: e.g. [OPTIONS], [FILES], [CONFIG], etc.
  4668. You can specify {link=243,extra text} to be inserted into each of these sections. For instance, if the 
  4669. file
  4670.  
  4671.       options.epj
  4672.  
  4673. exists in the same directory as the EditHelp source file, then the 
  4674. text of the EPJ file will be copied to the [OPTIONS] section of the Help Project file.
  4675.  
  4676.  
  4677. {heading=Rich Text Format file: RTF}
  4678.  
  4679. EditHelp creates a temporary Rich Text Format file (~out.rtf) which the {link=111,Help Compiler} compiles 
  4680. to a Help File.
  4681.  
  4682. Normally, you will not need to examine the Rich Text Format file. 
  4683.  
  4684. Rich Text Format files can be read and edited by the Microsoft Word word processor.
  4685. You can use the {link=246,File|Save As RTF} command to write the current source as a
  4686. Rich Text Format file. 
  4687.  
  4688.  
  4689. {heading=Project file: EHP}
  4690.  
  4691. A {link=257,Project} consists of a Project file and a set of EDH source files.
  4692.  
  4693. When the {link=222,HelpFile|Make} command is executed, all of the source files are
  4694. linked together to form a single HLP Help file. Use a Project when you want several 
  4695. source files to be shared by several Help files.
  4696.  
  4697.  
  4698. {heading=World Wide Web: WWW}
  4699.  
  4700. The {link=2229,File|Save As WWW} command saves the current source as
  4701. a HyperText Markup Language (HTML) file.
  4702. HTML can be used to represent Hypertext news, mail, online documentation, etc.
  4703. on the World Wide Web using a standard Internet protocol.
  4704.  
  4705. Each {link=106,topic} will be stored in a separate file:
  4706.  
  4707.     <filename>.htm
  4708.  
  4709.  
  4710. {heading=ASCII Text file: TXT}
  4711.  
  4712. The {link=210,File|Save As TXT} command saves the current source to a file as
  4713. plain ASCII text. The text file will have the name:
  4714.  
  4715.     <filename>.TXT
  4716.  
  4717. Each topic appears on a separate page. You can use the text file as the basis of your user manual.
  4718.  
  4719.  
  4720. {heading=Executable file: EXE}
  4721.  
  4722. The {link=2217,File|Open EXE} command reads an exe file and examines the menu 
  4723. and dialog resources of the file. From these, it creates a corresponding
  4724. skeleton EDH source file.
  4725.  
  4726. If the source file name is 
  4727.  
  4728.       program.exe
  4729.  
  4730. then the new source file will be
  4731.  
  4732.       program.edh
  4733.  
  4734.  
  4735.  
  4736.  
  4737.  
  4738.  
  4739.  
  4740.  
  4741.  
  4742.  
  4743.  
  4744.  
  4745.  
  4746.  
  4747. \end
  4748. 106
  4749. Topics
  4750. topics
  4751.  
  4752.  
  4753. 0
  4754.  
  4755. 0
  4756.  
  4757.  
  4758. Topic Text -----------------------------
  4759. A {link=107,Help File} is divided into 'Topics'. Each topic is a "page" full of information  
  4760. describing a particular subject.
  4761.  
  4762. Each topic must have a unique {link=105,number.} The number is used when the host program
  4763. calls the help system to display a help topic. 
  4764.  
  4765. The user selects a topic by following {link=2207,Links} or by selecting a {link=103,Keyword}
  4766. from the Search dialog.
  4767.  
  4768.  
  4769.  
  4770.  
  4771.  
  4772.  
  4773.  
  4774.  
  4775.  
  4776.  
  4777.  
  4778.  
  4779.  
  4780.  
  4781. \end
  4782. 105
  4783. Topic number
  4784. topic number
  4785.  
  4786.  
  4787. 0
  4788.  
  4789. 0
  4790.  
  4791.  
  4792. Topic Text -----------------------------
  4793. Each topic must have a unique number. The number is used when the host program  
  4794. calls the help system to display a help topic. 
  4795.  
  4796. For instance, this topic is topic number 105, so the host program would display this 
  4797. topic by calling:
  4798.  
  4799.     WinHelp(hWindow, HelpFileName, Help_Context, 105)
  4800.  
  4801. You can change the topic number by selecting the {link=2201,Topic|Caption} command.
  4802.  
  4803. If you have written a program which must use context strings rather than context
  4804. numbers, you can use the file {link=261,ALIAS.EPJ} to assign strings to topics.
  4805.  
  4806. See also\
  4807.     {link=106,topics}\
  4808.     {link=107,file names}
  4809.  
  4810.  
  4811.  
  4812.  
  4813.  
  4814.  
  4815.  
  4816.  
  4817.  
  4818. \end
  4819. 103
  4820. Keywords
  4821. keywords
  4822. search
  4823. topic name
  4824.  
  4825.  
  4826. 0
  4827.  
  4828. 0
  4829.  
  4830.  
  4831. Topic Text -----------------------------
  4832. Keywords appear in the Windows Help Search dialog box when the user selects the Search  
  4833. command.
  4834.  
  4835. The Keywords section may contain several keywords separated by semicolons or newlines.
  4836. For instance, the keywords for this topic are:
  4837.  
  4838.     keywords;search;topic name
  4839.  
  4840. If, in Windows Help,  you select the Search command, you will find this {link=106,topic} indexed 
  4841. by each of these keywords.
  4842.  
  4843. Several topics may share the same keyword. In which case, when the user selects
  4844. the keyword, the 'topic names' will appear in the GoTo box of the Search dialog. The
  4845. 'topic name' is the first keyword in the keyword list.
  4846.  
  4847. You can change the keyword list by selecting the {link=2201,Topic|Caption} command.
  4848.  
  4849.  
  4850.  
  4851.  
  4852.  
  4853.  
  4854.  
  4855.  
  4856.  
  4857.  
  4858.  
  4859.  
  4860. \end
  4861. 101
  4862. Comments
  4863. comments
  4864.  
  4865.  
  4866. 0
  4867.  
  4868. 0
  4869.  
  4870.  
  4871. Topic Text -----------------------------
  4872. If first two characters on a line are '//', the line will be ignored. For example
  4873.  
  4874.     // this is a comment
  4875.  
  4876.  
  4877.  
  4878.  
  4879.  
  4880.  
  4881.  
  4882.  
  4883.  
  4884.  
  4885.  
  4886.  
  4887.  
  4888.  
  4889.  
  4890.  
  4891.  
  4892.  
  4893.  
  4894.  
  4895.  
  4896.  
  4897.  
  4898.  
  4899.  
  4900.  
  4901.  
  4902.  
  4903.  
  4904.  
  4905.  
  4906.  
  4907.  
  4908.  
  4909.  
  4910.  
  4911.  
  4912.  
  4913.  
  4914.  
  4915.  
  4916.  
  4917.  
  4918.  
  4919.  
  4920.  
  4921.  
  4922.  
  4923.  
  4924.  
  4925.  
  4926.  
  4927.  
  4928.  
  4929.  
  4930.  
  4931.  
  4932.  
  4933.  
  4934.  
  4935.  
  4936.  
  4937.  
  4938.  
  4939.  
  4940.  
  4941.  
  4942.  
  4943. \end
  4944. 2200
  4945. The EditHelp program
  4946. contents
  4947.  
  4948. INDEX
  4949. 2
  4950.  
  4951. 0
  4952.  
  4953.  
  4954. Topic Text -----------------------------
  4955. The EditHelp program creates Help Files for use with the Windows 
  4956. help system. It can also create files in 
  4957. HyperText Markup Language (HTML)  format.
  4958.  
  4959. The Help File may contain links, popup-links, bitmaps and keywords. 
  4960. As you develop your Help File, EditHelp helps you keep track of 
  4961. the {link=2205,status} of each topic.
  4962.  
  4963. EditHelp can operate in two {link=401,modes}: 'Windows Help' and 'WWW'. 
  4964. This Help file describes how EditHelp behaves in the 'Windows Help' mode. 
  4965. To change mode, select the {link=401,File|WWW Mode} command.
  4966.  
  4967. The {link=245,Examples} topic shows many of the features available 
  4968. from EditHelp.
  4969.  
  4970. It is recommended that you use EditHelp with a {link=111,Help Compiler} such as Microsoft's
  4971. HC31. You may already have HC31.EXE (or HC30) on your computer. 
  4972. EditHelp also has an {link=262,internal Help Compiler.}
  4973.  
  4974. To find out more about using EditHelp to create Help Files, see the following topics:
  4975.  
  4976.     {link=107,Files}\
  4977.     {link=106,Topics}\
  4978.     {link=114,Text Layout}\
  4979.     {link=115,Text Commands}\
  4980.     {link=222,Make HelpFile}\
  4981.     {link=2211,Keywords}\
  4982.     {link=257,Projects}\
  4983.  
  4984. If you have already developed Help files using other tools, you can 
  4985. use the {link=2241,File|Open HLP} command to convert them into EditHelp format.
  4986.  
  4987. The source file for this help is supplied with this program as 
  4988.  
  4989.     edithelp.edh
  4990.  
  4991. See also\
  4992.     {link=110,Menu Commands}
  4993.  
  4994.  
  4995.  
  4996.  
  4997. \end
  4998. 111
  4999. Help Compiler
  5000. help compiler
  5001. compiler
  5002.  
  5003.  
  5004. 2
  5005.  
  5006. 0
  5007.  
  5008.  
  5009. Topic Text -----------------------------
  5010. The Help Compiler converts a Rich Text Format file into a {link=107,Help File.} 
  5011.  
  5012. EditHelp was written for use with the Microsoft HC31 help compiler
  5013. (copyright (c) Microsoft Corp 1990 - 1992). This reports the version number:
  5014.  
  5015.     Version 3.10.445
  5016.  
  5017. It may also work with older versions of HC31 or even with the Windows 3.0
  5018. version - HC30.
  5019.  
  5020. You may already have HC31.EXE on your computer; it is supplied with 
  5021. many program development systems.
  5022.  
  5023. EditHelp also has an {link=262,internal Help Compiler.}
  5024.  
  5025. Whether the External or Internal Compiler is used can be selected via the {link=2204,HelpFile|Directories}
  5026. dialog.
  5027.  
  5028.  
  5029.  
  5030. \end
  5031. 2207
  5032. Edit|Link
  5033. Edit|Link
  5034. links
  5035.  
  5036.  
  5037. 0
  5038.  
  5039. 0
  5040.  
  5041.  
  5042. Topic Text -----------------------------
  5043. A link is specified in the source text by the Link {link=115,command}:
  5044.  
  5045.     {{}link=<num>,<text>}
  5046.  
  5047. where <num> is the {link=105,Topic number} of the destination and <text> 
  5048. is the link-text to be displayed.
  5049.  
  5050. For instance, the Text Layout topic number is 114 so a link to the Text Layout topic would be
  5051. specified as
  5052.  
  5053.     {{}link=114,Text Layout}
  5054.  
  5055. which would display as
  5056.  
  5057.     {link=114,Text Layout}
  5058.  
  5059. When the user selects the link, the destination topic is displayed.
  5060.  
  5061. A {link=2219,bitmap} can be used as a button which displays the new topic.
  5062.  
  5063. A link command can also specify that a {link=2225,Help Macro} should be executed.
  5064. Select the 'Macro' button of the Edit|Link dialog.
  5065.  
  5066. The Edit|Link command inserts a Link into the text of the current topic 
  5067. at the current insertion point. You can choose the link topic from a list of all topics.
  5068.  
  5069. You can also type in a link "by hand".
  5070.  
  5071. A link can specify that the destination topic should be displayed in a 
  5072. {link=2230,Secondary Window} or that a {link=2231,New File} should be loaded.
  5073.  
  5074. See also\
  5075.    {link=205,Edit|Undo}\
  5076.    {link=206,Edit|Cut}\
  5077.    {link=207,Edit|Copy}\
  5078.    {link=208,Edit|Paste}\
  5079.    {link=209,Edit|Delete}\
  5080.    {link=2215,Edit|Popup}\
  5081.    {link=2214,Edit|Bitmap}\
  5082.    {link=2219,Edit|Bitmap Link}\
  5083.    {link=2234,Edit|DLL Call}\
  5084.    {link=2233,Edit|Embedded Pane}\
  5085.  
  5086.  
  5087.  
  5088.  
  5089.  
  5090.  
  5091.  
  5092.  
  5093.  
  5094.  
  5095.  
  5096.  
  5097.  
  5098.  
  5099.  
  5100.  
  5101.  
  5102.  
  5103.  
  5104.  
  5105.  
  5106.  
  5107.  
  5108.  
  5109.  
  5110.  
  5111.  
  5112.  
  5113.  
  5114.  
  5115.  
  5116.  
  5117.  
  5118.  
  5119.  
  5120.  
  5121.  
  5122.  
  5123.  
  5124.  
  5125.  
  5126.  
  5127.  
  5128.  
  5129.  
  5130.  
  5131.  
  5132.  
  5133. \end
  5134. 114
  5135. Text Layout
  5136. text layout
  5137. layout
  5138.  
  5139.  
  5140. 0
  5141.  
  5142. 0
  5143.  
  5144.  
  5145. Topic Text -----------------------------
  5146. The Edit window of the EditHelp program shows the text of the current topic.
  5147.  
  5148. The layout of the text affects the layout of the {link=107,Help File.} 
  5149.  
  5150. Single newlines are ignored in the text so that the source:
  5151.  
  5152.     Single newlines are\
  5153.     ignored in\
  5154.     the text 
  5155.  
  5156. is displayed by the Help system as:
  5157.  
  5158.     Single newlines are 
  5159.     ignored in 
  5160.     the text 
  5161.  
  5162. Two or more newlines start a new paragraph, so that:
  5163.  
  5164.     Single newlines\
  5165.     are ignored.
  5166.  
  5167.     But two newlines\
  5168.     start a new paragraph.
  5169.  
  5170. is displayed as:
  5171.  
  5172.     Single newlines are ignored.
  5173.  
  5174.     But two newlines start a new paragraph.
  5175.  
  5176. A '\' character at the end of a line is displayed as a newline, so:
  5177.  
  5178.     Single newlines\\
  5179.     are ignored.
  5180.  
  5181. is displayed as:
  5182.  
  5183.     Single newlines\
  5184.     are ignored.
  5185.  
  5186. If the first line of a paragraph has leading blanks then the whole paragraph is 
  5187. indented.
  5188. Leading blanks on subsequent lines are ignored.
  5189.  
  5190. Trailing blanks on a line are deleted; a single trailing blank is then added. 
  5191. This is usually what is required in normal text - if you want a specific number of trailing blanks, use the 
  5192. {link=251,Literal} command.
  5193.  
  5194. Lines must have fewer than 255 characters.
  5195.  
  5196. Text can be displayed {link=231,bold} or {link=232,italic} and in different
  5197. {link=2218,fonts} and {link=2221,sizes.}
  5198.  
  5199. See also\
  5200.     {link=115,Text Commands}
  5201.  
  5202. Advanced layout includes\
  5203.     {link=2220,Heading command}\
  5204.     {link=240,Line command}\
  5205.     {link=2224,List Command}\
  5206.     {link=241,Box command}\
  5207.     {link=242,Centre command}\
  5208.     {link=247,Keep command}\
  5209.  
  5210.  
  5211.  
  5212.  
  5213.  
  5214.  
  5215.  
  5216.  
  5217.  
  5218. \end
  5219. 115
  5220. Text Commands
  5221. text commands
  5222. commands
  5223.  
  5224.  
  5225. 0
  5226.  
  5227. 0
  5228.  
  5229.  
  5230. Topic Text -----------------------------
  5231. The source text can contain Commands specifying links, sub-headings and bitmaps to be 
  5232. included in the {link=107,Help File.}
  5233.  
  5234. A {link=2207,Link} is specified by the Link Command:
  5235.  
  5236.     {{}link=<num>,<text>}
  5237.  
  5238. where <num> is the {link=105,Topic number} of the destination and <text> 
  5239. is the link-text to be displayed.
  5240.  
  5241. A {link=116,Popup Link} is specified by the Popup Command:
  5242.  
  5243.     {{}popup=<num>,<text>}
  5244.  
  5245. where <num> is the {link=105,Topic number} of the destination and <text> 
  5246. is the popup link-text to be displayed.
  5247.  
  5248. A {link=118,Bitmap} is specified by the Bitmap Command:
  5249.  
  5250.     {{}bitmap=<filename>}
  5251.  
  5252. where <filename> is the name of a BMP file to be displayed.
  5253.  
  5254. A {link=2220,sub-heading} is specified by the Heading Command:
  5255.  
  5256.     {{}heading=<text>}
  5257.  
  5258. where <text> is the text of the sub-heading.
  5259.  
  5260. The command name for every text command must appear in lower case.
  5261. For instance, use 'link' not 'Link'.
  5262.  
  5263. Every text command starts with a '{{}' character.
  5264. The '{{}' character may be inserted into the text as
  5265.  
  5266.     {{}{{}}
  5267.  
  5268. See also\
  5269.     {link=114,Text Layout}\
  5270.     {link=2220,Heading command}\
  5271.     {link=240,Line command}\
  5272.     {link=2224,List command}\
  5273.     {link=241,Box command}\
  5274.     {link=242,Centre command}\
  5275.     {link=247,Keep command}\
  5276.  
  5277.  
  5278.  
  5279.  
  5280.  
  5281.  
  5282.  
  5283.  
  5284.  
  5285.  
  5286.  
  5287.  
  5288.  
  5289.  
  5290. \end
  5291. 210
  5292. File|Save As TXT
  5293. File|Save As TXT
  5294. Save As TXT
  5295. TXT
  5296.  
  5297.  
  5298. 0
  5299.  
  5300. 0
  5301.  
  5302.  
  5303. Topic Text -----------------------------
  5304. The File|Save As TXT command saves the current source to a file as
  5305. plain ASCII text. The text file will have the name:
  5306.  
  5307.     <filename>.TXT
  5308.  
  5309. where <filename> is the name of the current {link=107,help source file.}
  5310.  
  5311. Each topic appears on a separate page; pages are separated by FF (#12)
  5312. characters.
  5313.  
  5314. If you select 'Remove all formatting' then all formatting and link commands are removed.
  5315. Otherwise, link commands will be replaced with the text of the hotspot but other
  5316. formatting commands will be written to the TXT file; for instance
  5317.  
  5318.     {{}font=6}
  5319.  
  5320. will be written as
  5321.  
  5322.     <<font=6>>
  5323.  
  5324. You can use the text file as the basis of your user manual.
  5325.  
  5326. See also\
  5327.    {link=200,File|New}\
  5328.    {link=201,File|Open}\
  5329.    {link=202,File|Save}\
  5330.    {link=203,File|Save As}\
  5331.    {link=258,File|Project|New}\
  5332.    {link=2237,File|Project|Open}\
  5333.    {link=259,File|Project|Save}\
  5334.    {link=260,File|Project|SaveAs}\
  5335.    {link=2238,File|Project|Files}\
  5336.    {link=2239,File|Project|Move Topic}\
  5337.    {link=246,File|Save As RTF}\
  5338.    {link=2229,File|Save As WWW}\
  5339.    {link=2217,File|Open EXE}\
  5340.    {link=401,File|WWW Mode}\
  5341.    {link=204,File|Exit}
  5342.  
  5343.  
  5344.  
  5345.  
  5346.  
  5347.  
  5348.  
  5349.  
  5350.  
  5351.  
  5352.  
  5353.  
  5354.  
  5355.  
  5356. \end
  5357. 2211
  5358. HelpFile|Keywords
  5359. HelpFile|Keywords
  5360. Keywords
  5361.  
  5362.  
  5363. 0
  5364.  
  5365. 0
  5366.  
  5367.  
  5368. Topic Text -----------------------------
  5369. The HelpFile|Keywords command displays the
  5370. {link=103,Keywords}, {link=105,Topic number} and {link=108,Caption} of each topic. 
  5371. The display is sorted by all of the keywords of each topic. 
  5372.  
  5373. The Keywords command helps you keep track of which keywords are common to 
  5374. several topics.
  5375.  
  5376. See also\
  5377.    {link=222,HelpFile|Make}\
  5378.    {link=223,HelpFile|Test}\
  5379.    {link=109,HelpFile|Make This Topic}\
  5380.    {link=2204,HelpFile|Directories}\
  5381.    {link=2203,HelpFile|Title}\
  5382.    {link=226,HelpFile|Compress}\
  5383.    {link=2226,HelpFile|Copyright}\
  5384.    {link=2227,HelpFile|Icon}\
  5385.  
  5386.  
  5387.  
  5388.  
  5389.  
  5390.  
  5391.  
  5392.  
  5393.  
  5394.  
  5395.  
  5396.  
  5397.  
  5398.  
  5399.  
  5400.  
  5401.  
  5402.  
  5403.  
  5404.  
  5405.  
  5406.  
  5407.  
  5408.  
  5409.  
  5410.  
  5411.  
  5412.  
  5413.  
  5414.  
  5415.  
  5416.  
  5417.  
  5418.  
  5419.  
  5420.  
  5421.  
  5422.  
  5423.  
  5424.  
  5425.  
  5426.  
  5427.  
  5428.  
  5429.  
  5430.  
  5431.  
  5432.  
  5433.  
  5434.  
  5435.  
  5436.  
  5437.  
  5438.  
  5439.  
  5440.  
  5441.  
  5442.  
  5443.  
  5444.  
  5445.  
  5446.  
  5447.  
  5448.  
  5449.  
  5450.  
  5451.  
  5452.  
  5453. \end
  5454. 228
  5455. Topic|Goto Unfinished
  5456. Topic|Goto Unfinished
  5457. Goto Unfinished
  5458.  
  5459.  
  5460. 0
  5461.  
  5462. 7
  5463. TopicMenu
  5464.  
  5465. Topic Text -----------------------------
  5466. The Topic|Goto Unfinished command selects the next unfinished {link=106,topic} from the 
  5467. topic list and load it
  5468. into the Edit window. An unfinished topic is one whose {link=221,status} is 
  5469. 'Incomplete' or Test'.
  5470.  
  5471. The Goto Unfinished command can be called with the Ctrl-F6 key.
  5472.  
  5473. See also\
  5474.    {link=221,Topic|Status}\
  5475.    {link=2205,HelpFile|Status}
  5476.  
  5477.    {link=214,Topic|Next topic}\
  5478.    {link=215,Topic|Prev topic}\
  5479.    {link=227,Topic|Back}\
  5480.    {link=216,Topic|New topic}\
  5481.    {link=218,Topic|Delete}\
  5482.    {link=2201,Topic|Caption}\
  5483.    {link=220,Topic|Contents}\
  5484.    {link=2228,Topic|Browse}\
  5485.    {link=2240,Topic|Entry Command}\
  5486.    {link=253,Topic|Preview}\
  5487.  
  5488.  
  5489.  
  5490.  
  5491.  
  5492.  
  5493.  
  5494.  
  5495.  
  5496.  
  5497. \end
  5498. 2213
  5499. Search|Find Error
  5500. Search|Find Error
  5501. Find Error
  5502.  
  5503.  
  5504. 0
  5505.  
  5506. 0
  5507.  
  5508.  
  5509. Topic Text -----------------------------
  5510. The Search|Find Error command
  5511. searches for an error reported by the {link=111,Help Compiler.}
  5512.  
  5513. If the {link=111,Help Compiler} reports an error such as
  5514.  
  5515.     Error 4639: Error in file '~out.rtf' at byte offset 0x1BC9.
  5516.  
  5517. enter the error address (e.g. 1BC9) into the Find Error dialog box.
  5518. The cursor will move to a position near the error in the source.
  5519.  
  5520. Warning: The {link=111,Help Compiler} seems to report the wrong address for errors
  5521. if you have linked {link=243,Baggage} into the {link=107,Help File}
  5522.  
  5523. See also\
  5524.    {link=2210,Search|Find}\
  5525.    {link=2209,Search|Replace}\
  5526.    {link=2208,Search|Replace with Link}\
  5527.    {link=213,Search|Next}
  5528.  
  5529.  
  5530.  
  5531.  
  5532.  
  5533.  
  5534.  
  5535.  
  5536.  
  5537.  
  5538.  
  5539.  
  5540.  
  5541.  
  5542. \end
  5543. 2215
  5544. Edit|Popup
  5545. Edit|Popup
  5546. Popup Link
  5547.  
  5548.  
  5549. 0
  5550.  
  5551. 0
  5552.  
  5553.  
  5554. Topic Text -----------------------------
  5555. The Edit|Popup command inserts a {link=116,Popup Link} into the text of the current topic 
  5556. at the current insertion point. You can choose the popup topic from a list of all topics.
  5557.  
  5558. You can also type in a popup link "by hand".
  5559.  
  5560. See also\
  5561.    {link=205,Edit|Undo}\
  5562.    {link=206,Edit|Cut}\
  5563.    {link=207,Edit|Copy}\
  5564.    {link=208,Edit|Paste}\
  5565.    {link=209,Edit|Delete}\
  5566.    {link=2214,Edit|Bitmap}\
  5567.    {link=2207,Edit|Link}\
  5568.    {link=2234,Edit|DLL Call}\
  5569.    {link=2233,Edit|Embedded Pane}\
  5570.  
  5571.  
  5572.  
  5573.  
  5574.  
  5575.  
  5576.  
  5577.  
  5578.  
  5579.  
  5580.  
  5581.  
  5582.  
  5583.  
  5584.  
  5585.  
  5586.  
  5587.  
  5588.  
  5589.  
  5590.  
  5591.  
  5592.  
  5593.  
  5594.  
  5595.  
  5596.  
  5597.  
  5598.  
  5599.  
  5600.  
  5601.  
  5602.  
  5603.  
  5604.  
  5605.  
  5606.  
  5607.  
  5608.  
  5609.  
  5610.  
  5611.  
  5612.  
  5613.  
  5614.  
  5615.  
  5616.  
  5617.  
  5618. \end
  5619. 2214
  5620. Edit|Bitmap
  5621. Edit|Bitmap
  5622. Bitmap
  5623.  
  5624.  
  5625. 2
  5626.  
  5627. 0
  5628.  
  5629.  
  5630. Topic Text -----------------------------
  5631. The Edit|Bitmap command inserts a {link=118,Bitmap} into the text of the current topic
  5632. at the current insertion point. 
  5633. You can choose the Bitmap from a list of BMP files.
  5634.  
  5635. You can also type in a Bitmap {link=115,command} "by hand".
  5636.  
  5637. The bitmap filename should not contain any path information. The bitmap file should be in
  5638. the same directory as the EDH {link=107,source file.}
  5639.  
  5640. See also\
  5641.    {link=205,Edit|Undo}\
  5642.    {link=206,Edit|Cut}\
  5643.    {link=207,Edit|Copy}\
  5644.    {link=208,Edit|Paste}\
  5645.    {link=209,Edit|Delete}\
  5646.    {link=2215,Edit|Popup}\
  5647.    {link=2234,Edit|DLL Call}\
  5648.    {link=2233,Edit|Embedded Pane}\
  5649.  
  5650.  
  5651.  
  5652.  
  5653.  
  5654.  
  5655. \end
  5656. 2216
  5657. Make command
  5658. Make command
  5659.  
  5660.  
  5661. 0
  5662.  
  5663. 0
  5664.  
  5665.  
  5666. Topic Text -----------------------------
  5667. Before the {link=222,HelpFile|Make} or {link=109,HelpFile|Make This Topic} command is run, you have the 
  5668. opportunity to save the current {link=107,help source.}
  5669.  
  5670. You may select:
  5671.  
  5672.     {list=9}Yes:    the source file is saved then the {link=107,Help File} is made
  5673.  
  5674.     No:    the source file is not saved before the Help File is made
  5675.  
  5676.     Always:    the source file is always saved before the Help File is made
  5677.  
  5678.     Never:    the source file is never saved before the Help File is made
  5679.  
  5680. {list=0}If you choose Always or Never, this dialog will not be presented again
  5681. for this help source file.
  5682.  
  5683. If you choose No or Never, you can save the help source file later with the
  5684. {link=202,File|Save} or {link=203,File|Save As} command.
  5685.  
  5686. See also\
  5687.     {link=222,HelpFile|Make}\
  5688.     {link=109,HelpFile|Make This Topic}\
  5689.     {link=111,Help Compiler}\
  5690.     {link=107,Files}
  5691.  
  5692.  
  5693.  
  5694.  
  5695.  
  5696.  
  5697.  
  5698.  
  5699.  
  5700.  
  5701.  
  5702.  
  5703.  
  5704.  
  5705. \end
  5706. 243
  5707. Help Project File
  5708. Help Project File
  5709. Project File
  5710.  
  5711.  
  5712. 0
  5713.  
  5714. 0
  5715.  
  5716.  
  5717. Topic Text -----------------------------
  5718. When you select the {link=222,HelpFile|Make} command, EditHelp
  5719. writes the contents of the {link=107,source file} as a Rich Text Format file and a Help Project file.
  5720. These are called:
  5721.  
  5722.       ~out.rtf    Rich Text Format file \
  5723.       ~out.hpj    Help Project file
  5724.  
  5725. It then executes the {link=111,Help Compiler} which compiles these into a {link=107,Help File}
  5726. called
  5727.  
  5728.       ~out.hlp    Help file 
  5729.  
  5730. The Help File is then copied to
  5731.  
  5732.     <directory><filename>.hlp
  5733.  
  5734. where <filename> is the name of the current help source file and <directory>
  5735. is the 'Help File Directory' specified by the {link=2204,HelpFile|Directories} command.
  5736.  
  5737. A Help Project file consists of the following sections:
  5738.  
  5739.     {list=15}[OPTIONS]    Specifies options that control the build process. This section is optional. If
  5740.                                 this section is used, it should be the first section listed in the project file, so
  5741.                                 that the options will apply during the entire build process.\
  5742.     [FILES]    Specifies topic files to be included in the build. This section is required.\
  5743.     [BUILDTAGS]    Specifies valid build tags. This section is optional.\
  5744.     [CONFIG]    Specifies Help macros that define nonstandard menus, buttons, and
  5745.                                 macros used in the help file. This section is required if the help file uses
  5746.                                 any of these features. This section is new for Windows 3.1.\
  5747.     [BITMAPS]    Specifies bitmap files to be included in the build. This section is not
  5748.                                 required if the project file lists a path for bitmap files by using the
  5749.                                 BMROOT or ROOT option.\
  5750.     [MAP]    Associates context strings with context numbers. This section is optional.\
  5751.     {link=261,[ALIAS]}    Assigns one or more context strings to the same topic. This section is
  5752.                                 optional.\
  5753.     [WINDOWS]    Defines the characteristics of the primary Help window and the
  5754.                                 secondary-window types used in the help file. This section is required if the
  5755.                                 help file uses {link=2230,Secondary Windows.}\
  5756.     [BAGGAGE]    Lists files that are to be placed within the help file (which contains its own
  5757.                                 file system). This section is optional.
  5758.  
  5759. {list=0}
  5760. You can specify extra text to be inserted into each of these sections. For instance, if the 
  5761. file
  5762.  
  5763.       options.epj
  5764.  
  5765. exists in the same directory as the EditHelp {link=107,source file}, then the text
  5766. of the EPJ file will be copied to the [OPTIONS] section of the Help Project file.
  5767.  
  5768. For instance, if the file 
  5769.  
  5770.       config.epj
  5771.  
  5772. contains the line:
  5773.  
  5774.       CreateButton("btn_clk", "&Clock", "ExecProgram(`clock.exe',0)")
  5775.  
  5776. Then the Windows Help viewer will have an extra button labelled "Clock".
  5777. If the user selects this button, the Windows Clock program
  5778. will be run.
  5779.  
  5780. If you have written a program which must use context strings rather than context
  5781. numbers, you can use the file {link=261,ALIAS.EPJ} to assign strings to topics.
  5782.  
  5783.  
  5784.  
  5785.  
  5786.  
  5787.  
  5788.  
  5789.  
  5790.  
  5791.  
  5792.  
  5793.  
  5794.  
  5795.  
  5796. \end
  5797. 303
  5798. MS-DOS
  5799. MS-DOS
  5800.  
  5801.  
  5802. 0
  5803.  
  5804. 0
  5805.  
  5806.  
  5807. Topic Text -----------------------------
  5808. This is the MS-DOS program.
  5809.  
  5810.  
  5811.  
  5812.  
  5813.  
  5814.  
  5815.  
  5816.  
  5817.  
  5818.  
  5819.  
  5820.  
  5821.  
  5822.  
  5823.  
  5824.  
  5825.  
  5826.  
  5827.  
  5828.  
  5829.  
  5830.  
  5831.  
  5832.  
  5833.  
  5834.  
  5835.  
  5836.  
  5837.  
  5838.  
  5839.  
  5840.  
  5841.  
  5842.  
  5843.  
  5844.  
  5845.  
  5846.  
  5847.  
  5848.  
  5849.  
  5850.  
  5851.  
  5852.  
  5853.  
  5854.  
  5855.  
  5856.  
  5857.  
  5858.  
  5859.  
  5860.  
  5861.  
  5862.  
  5863.  
  5864.  
  5865.  
  5866.  
  5867.  
  5868.  
  5869.  
  5870.  
  5871.  
  5872.  
  5873.  
  5874.  
  5875.  
  5876.  
  5877. \end
  5878. 302
  5879. Paintbrush
  5880. Paintbrush
  5881.  
  5882.  
  5883. 0
  5884.  
  5885. 0
  5886.  
  5887.  
  5888. Topic Text -----------------------------
  5889. This is the Paintbrush program.
  5890.  
  5891.  
  5892.  
  5893.  
  5894.  
  5895.  
  5896.  
  5897.  
  5898.  
  5899.  
  5900.  
  5901.  
  5902.  
  5903.  
  5904.  
  5905.  
  5906.  
  5907.  
  5908.  
  5909.  
  5910.  
  5911.  
  5912.  
  5913.  
  5914.  
  5915.  
  5916.  
  5917.  
  5918.  
  5919.  
  5920.  
  5921.  
  5922.  
  5923.  
  5924.  
  5925.  
  5926.  
  5927.  
  5928.  
  5929.  
  5930.  
  5931.  
  5932.  
  5933.  
  5934.  
  5935.  
  5936.  
  5937.  
  5938.  
  5939.  
  5940.  
  5941.  
  5942.  
  5943.  
  5944.  
  5945.  
  5946.  
  5947.  
  5948.  
  5949.  
  5950.  
  5951.  
  5952.  
  5953.  
  5954.  
  5955.  
  5956.  
  5957.  
  5958. \end
  5959. 301
  5960. File Manager
  5961. File Manager
  5962.  
  5963.  
  5964. 0
  5965.  
  5966. 0
  5967.  
  5968.  
  5969. Topic Text -----------------------------
  5970. This is the File Manager program.
  5971.  
  5972.  
  5973.  
  5974.  
  5975.  
  5976.  
  5977.  
  5978.  
  5979.  
  5980.  
  5981.  
  5982.  
  5983.  
  5984.  
  5985.  
  5986.  
  5987.  
  5988.  
  5989.  
  5990.  
  5991.  
  5992.  
  5993.  
  5994.  
  5995.  
  5996.  
  5997.  
  5998.  
  5999.  
  6000.  
  6001.  
  6002.  
  6003.  
  6004.  
  6005.  
  6006.  
  6007.  
  6008.  
  6009.  
  6010.  
  6011.  
  6012.  
  6013.  
  6014.  
  6015.  
  6016.  
  6017.  
  6018.  
  6019.  
  6020.  
  6021.  
  6022.  
  6023.  
  6024.  
  6025.  
  6026.  
  6027.  
  6028.  
  6029.  
  6030.  
  6031.  
  6032.  
  6033.  
  6034.  
  6035.  
  6036.  
  6037.  
  6038.  
  6039. \end
  6040. 300
  6041. Microsoft Write
  6042. Write
  6043.  
  6044.  
  6045. 0
  6046.  
  6047. 0
  6048.  
  6049.  
  6050. Topic Text -----------------------------
  6051. This is the Microsoft Write program.
  6052.  
  6053.  
  6054.  
  6055.  
  6056.  
  6057.  
  6058.  
  6059.  
  6060.  
  6061.  
  6062.  
  6063.  
  6064.  
  6065.  
  6066.  
  6067.  
  6068.  
  6069.  
  6070.  
  6071.  
  6072.  
  6073.  
  6074.  
  6075.  
  6076.  
  6077.  
  6078.  
  6079.  
  6080.  
  6081.  
  6082.  
  6083.  
  6084.  
  6085.  
  6086.  
  6087.  
  6088.  
  6089.  
  6090.  
  6091.  
  6092.  
  6093.  
  6094.  
  6095.  
  6096.  
  6097.  
  6098.  
  6099.  
  6100.  
  6101.  
  6102.  
  6103.  
  6104.  
  6105.  
  6106.  
  6107.  
  6108.  
  6109.  
  6110.  
  6111.  
  6112.  
  6113.  
  6114.  
  6115.  
  6116.  
  6117.  
  6118.  
  6119.  
  6120. \end
  6121. 245
  6122. Examples
  6123. Examples
  6124.  
  6125.  
  6126. 0
  6127.  
  6128. 0
  6129.  
  6130.  
  6131. Topic Text -----------------------------
  6132. This text will be kept while the rest of the page can be scrolled.
  6133. {keep}
  6134.  
  6135. This Topic shows many of the features of Help files produced by EditHelp.
  6136.  
  6137. Text can be shown in many styles, colours, fonts and sizes:
  6138.  
  6139.     {font=0}{fontsize=50}{colour=1}AbCdEf
  6140.     {font=1}{fontsize=20}{colour=10}AbCdEf
  6141.     {font=9}{fontsize=30}{colour=5}{italic}AbCdEf{italic}
  6142.     {font=6}{fontsize=40}{colour=13}AbCdEf
  6143.     {font=7}{fontsize=12}{colour=14}AbCdEf
  6144.     {font=8}{fontsize=30}{colour=11}{bold}AbCdEf{bold}
  6145.     {font=0}{fontsize=20}{colour=0}
  6146.  
  6147. {heading=Layout}
  6148.  
  6149. Here is an example of an indented list:
  6150.  
  6151.      {line}{list=12}{bold}Feature    Description
  6152.  
  6153.      Icon    The Icon command allows you to specify the name of an icon (.ICO) file.
  6154.                 The icon will be displayed when the Help file is minimised.
  6155.  
  6156.      Copyright    The Copyright command allows you to specify an additional copyright notice
  6157.                 which will appear in the Windows Help {link='About()',About} box.
  6158.  
  6159.      Browse    The Browse command sets the browse group name and number of the current topic.
  6160.                   A browse sequence typically consists of two or more related topics
  6161.                   that are intended to be read sequentially.
  6162.  
  6163. {box}{centre}This text is centred in a box.
  6164.  
  6165.  
  6166. {list=0}{heading=Pictures}
  6167.  
  6168. A Help file can display bitmaps:
  6169.  
  6170.     {bitmap=sample.bmp}
  6171.  
  6172. If you press this {popup=117,bmp=sample1.bmp} it will display a popup topic. 
  6173.  
  6174. A Segmented Graphics File contains a bitmap that includes 
  6175. one or more hotspots. For instance:
  6176.  
  6177.     {bitmap=sample.shg}
  6178.  
  6179. The Write, FileManager, Pbrush and
  6180. MS-DOS icons specify a {popup=117,popup link} while selecting the Notepad icon 
  6181. will execute the Notepad program.
  6182.  
  6183. Text can also be displayed in a {link=249>MyWindow,Secondary Window.}
  6184.  
  6185.  
  6186.  
  6187.  
  6188.  
  6189.  
  6190.  
  6191.  
  6192.  
  6193.  
  6194.  
  6195.  
  6196.  
  6197.  
  6198. \end
  6199. 246
  6200. File|Save As RTF
  6201. File|Save As RTF
  6202. Save As RTF
  6203. RTF
  6204.  
  6205.  
  6206. 0
  6207.  
  6208. 0
  6209.  
  6210.  
  6211. Topic Text -----------------------------
  6212. The File|Save As RTF command saves the current source to a file in
  6213. Rich Text Format. The file will have the name:
  6214.  
  6215.     <filename>.RTF
  6216.  
  6217. where <filename> is the name of the current {link=107,help source file.}
  6218.  
  6219. You can edit the RTF file using Microsoft Word.
  6220. Microsoft Word is the traditional editor for producing Windows Help files. It is
  6221. a powerful word processor but, unlike EditHelp, lacks many features specific to
  6222. the creation and maintainance of Windows Help files. 
  6223.  
  6224. See also\
  6225.    {link=200,File|New}\
  6226.    {link=201,File|Open}\
  6227.    {link=202,File|Save}\
  6228.    {link=203,File|Save As}\
  6229.    {link=258,File|Project|New}\
  6230.    {link=2237,File|Project|Open}\
  6231.    {link=259,File|Project|Save}\
  6232.    {link=260,File|Project|SaveAs}\
  6233.    {link=2238,File|Project|Files}\
  6234.    {link=2239,File|Project|Move Topic}\
  6235.    {link=210,File|Save As TXT}\
  6236.    {link=2229,File|Save As WWW}\
  6237.    {link=2217,File|Open EXE}\
  6238.    {link=401,File|WWW Mode}\
  6239.    {link=204,File|Exit}
  6240.  
  6241.  
  6242.  
  6243.  
  6244.  
  6245.  
  6246.  
  6247.  
  6248.  
  6249.  
  6250.  
  6251.  
  6252.  
  6253.  
  6254. \end
  6255. 247
  6256. Layout|Keep
  6257. Layout|Keep
  6258. keep
  6259.  
  6260.  
  6261. 0
  6262.  
  6263. 0
  6264.  
  6265.  
  6266. Topic Text -----------------------------
  6267. This text will be kept while the rest of the page can be scrolled.{keep}
  6268.  
  6269. The Keep {link=115,command} specifies that the text of the paragraph 
  6270. containing the command and all the preceding text 
  6271. (including the {link=108,Caption}) should remain at the top of the window. 
  6272.  
  6273.     {{}keep}
  6274.  
  6275. The user can scroll all the text following the Keep command.
  6276.  
  6277. A line will be drawn below the non-scrolling region.
  6278.  
  6279. If you want just the {link=108,Caption} to appear in the non-scrolling region,
  6280. insert a line contining nothing but
  6281.  
  6282.     {{}keep}
  6283.  
  6284. as the first line of your topic text.
  6285.  
  6286. If the window is smaller than the non-scrolling region, the user will be unable 
  6287. to view the rest of the topic.
  6288.  
  6289. See also\
  6290.     {link=2220,Layout|Heading}\
  6291.     {link=2224,Layout|List}\
  6292.     {link=240,Layout|Line}\
  6293.     {link=241,Layout|Box}\
  6294.     {link=242,Layout|Centre}\
  6295.     {link=2236,Layout|Tab}\
  6296.  
  6297.  
  6298.  
  6299.  
  6300.  
  6301.  
  6302.  
  6303.  
  6304.  
  6305.  
  6306.  
  6307.  
  6308.  
  6309.  
  6310.  
  6311.  
  6312.  
  6313.  
  6314.  
  6315.  
  6316.  
  6317.  
  6318.  
  6319.  
  6320.  
  6321.  
  6322.  
  6323.  
  6324.  
  6325.  
  6326.  
  6327.  
  6328.  
  6329. \end
  6330. 249
  6331. Secondary Window Example
  6332. Secondary Window
  6333. Window
  6334.  
  6335.  
  6336. 0
  6337.  
  6338. 0
  6339.  
  6340.  
  6341. Topic Text -----------------------------
  6342. The following definition:
  6343.  
  6344.       MyWindow="My Window",(0,0,500,500,0),,(255,255,0),,1
  6345.  
  6346. specifies that the Secondary Window should appear in the top left corner of the 
  6347. screen, have a yellow background and remain on top.
  6348.  
  6349.  
  6350.  
  6351.  
  6352.  
  6353.  
  6354.  
  6355.  
  6356.  
  6357.  
  6358.  
  6359.  
  6360.  
  6361.  
  6362.  
  6363.  
  6364.  
  6365.  
  6366.  
  6367.  
  6368.  
  6369.  
  6370.  
  6371.  
  6372.  
  6373.  
  6374.  
  6375.  
  6376.  
  6377.  
  6378.  
  6379.  
  6380.  
  6381.  
  6382.  
  6383.  
  6384.  
  6385.  
  6386.  
  6387.  
  6388.  
  6389.  
  6390.  
  6391.  
  6392.  
  6393.  
  6394.  
  6395.  
  6396.  
  6397.  
  6398.  
  6399.  
  6400.  
  6401.  
  6402.  
  6403.  
  6404.  
  6405.  
  6406.  
  6407. \end
  6408. 2231
  6409. New File
  6410. New File
  6411. File
  6412. Topic
  6413.  
  6414.  
  6415. 0
  6416.  
  6417. 0
  6418.  
  6419.  
  6420. Topic Text -----------------------------
  6421. If the format of a {link=2207,Link} command is
  6422.  
  6423.     {{}link=<num>@<newFile>,<text>}
  6424.  
  6425. where '<newFile>' is the name of a Help file, then the new file is opened and the destination 
  6426. {link=106,Topic} is loaded from that file.
  6427. ('<num>' is the {link=105,Topic number} of the destination and '<text>'
  6428. is the link-text to be displayed.)
  6429.  
  6430. The '<newFile>' string should not contain any DOS path information.
  6431.  
  6432. For instance:
  6433.  
  6434.     {{}link=2231@myhelp.hlp,Other File}
  6435.  
  6436. will load the Help file
  6437.  
  6438.     myhelp.hlp
  6439.  
  6440. If a Link command specifies both a {link=2230,Secondary Window} and a New File,
  6441. the clauses should be in the order:
  6442.  
  6443.     {{}link=num@newFile>winName,text}
  6444.  
  6445.  
  6446.  
  6447.  
  6448.  
  6449.  
  6450.  
  6451.  
  6452.  
  6453.  
  6454.  
  6455.  
  6456.  
  6457.  
  6458.  
  6459.  
  6460.  
  6461.  
  6462.  
  6463.  
  6464.  
  6465.  
  6466.  
  6467.  
  6468.  
  6469.  
  6470.  
  6471.  
  6472.  
  6473.  
  6474.  
  6475.  
  6476.  
  6477.  
  6478.  
  6479.  
  6480.  
  6481.  
  6482.  
  6483.  
  6484.  
  6485.  
  6486.  
  6487.  
  6488.  
  6489.  
  6490.  
  6491.  
  6492.  
  6493.  
  6494.  
  6495.  
  6496.  
  6497.  
  6498.  
  6499. \end
  6500. 251
  6501. Literal
  6502. Literal
  6503.  
  6504.  
  6505. 0
  6506.  
  6507. 0
  6508.  
  6509.  
  6510. Topic Text -----------------------------
  6511. If a source line contains the Literal command:
  6512.  
  6513.     {{}literal}
  6514.  
  6515. The the remaining text on the line is copied verbatim to the RTF file.
  6516.  
  6517. You can use this feature to insert RTF commands which are not otherwise available
  6518. from EditHelp.
  6519.  
  6520. For instance
  6521.  
  6522.     {{}literal} }{{}\par}\pard\{{}bml sample.bmp\}{{}\fs20 A\
  6523.     {{}{{}}bml ...} command before the start of a paragraph means\
  6524.     the paragraph text is wrapped to right of the bitmap.\
  6525.  
  6526. is displayed as:
  6527.  
  6528. {literal} }{\par}\pard\{bml sample.bmp\}{\fs20 A 
  6529. {{}bml ...} command before the start of a paragraph means
  6530. the paragraph text is wrapped to the right of the bitmap.
  6531.  
  6532. To understand why this example works, you will need an RTF viewer manual such as
  6533.  
  6534.     Microsoft Multimedia Viewer: Technical Reference\
  6535.     MM39685-0393
  6536.  
  6537. and you will need to examine the {link=107,RTF file} written by EditHelp.
  6538.  
  6539. Normally, trailing blanks on a source line are deleted and a single trailing blank is then added. 
  6540. If you want a specific number of trailing blanks, use the 
  6541. Literal command towards the end of the line, followed by as many blanks as you 
  6542. need. For instance:
  6543.  
  6544.      {{}bitmap=sample1.bmp}{{}literal}\
  6545.      {{}bitmap=sample1.bmp}
  6546.  
  6547. is displayed as:
  6548.  
  6549.      {bitmap=sample1.bmp}{literal}
  6550.      {bitmap=sample1.bmp}
  6551.  
  6552. without the {{}literal}, a blank would have been inserted:
  6553.  
  6554.      {bitmap=sample1.bmp}
  6555.      {bitmap=sample1.bmp}
  6556.  
  6557.  
  6558.  
  6559.  
  6560.  
  6561.  
  6562.  
  6563.  
  6564.  
  6565.  
  6566.  
  6567.  
  6568.  
  6569.  
  6570.  
  6571.  
  6572.  
  6573.  
  6574.  
  6575.  
  6576.  
  6577.  
  6578.  
  6579.  
  6580.  
  6581.  
  6582.  
  6583.  
  6584.  
  6585.  
  6586.  
  6587.  
  6588.  
  6589.  
  6590.  
  6591.  
  6592.  
  6593.  
  6594.  
  6595.  
  6596.  
  6597. \end
  6598. 252
  6599. Predefined Variables 
  6600. Predefined Variables
  6601. Variables
  6602.  
  6603.  
  6604. 0
  6605.  
  6606. 0
  6607.  
  6608.  
  6609. Topic Text -----------------------------
  6610. Windows Help allows allows the following Predefined Variables as parameter values for
  6611. {link=2234,DLL Calls}:
  6612.  
  6613.       {list=17}{line}{bold}Variable    Description\
  6614.       hwndApp    the handle of the main Help window (U, DWORD,longint)\
  6615.       hwndContext    the handle of the current Help window (U, DWORD,longint)\
  6616.       qchPath    the the path of the Help file (S, LPSTR,^string) \
  6617.       lTopicNo    the current topic number (U, DWORD,longint)\
  6618.       coForeground    the foreground colour (U, DWORD,longint)\
  6619.       coBackground    the Background colour (U, DWORD,longint)\
  6620.  
  6621. N.B. the "current topic number" is an internal number used by WinHelp. It is not
  6622. the same as the {link=105,Topic number} used by EditHelp.
  6623.  
  6624.  
  6625.  
  6626.  
  6627.  
  6628.  
  6629.  
  6630.  
  6631.  
  6632.  
  6633.  
  6634. \end
  6635. 256
  6636. Sample Bitmaps
  6637. Sample Bitmaps
  6638. Bitmaps
  6639.  
  6640.  
  6641. 0
  6642.  
  6643. 0
  6644.  
  6645.  
  6646. Topic Text -----------------------------
  6647. The following selection of bitmaps are supplied with EditHelp:
  6648.  
  6649.     {list=10}{bitmap=btnpress.bmp}    btnpress.bmp\
  6650.     {bitmap=btnok.bmp}    btnok.bmp\
  6651.     {bitmap=btncancl.bmp}    btncancl.bmp\
  6652.     {bitmap=btnhelp.bmp}    btnhelp.bmp\
  6653.     {bitmap=btnhelp1.bmp}    btnhelp1.bmp\
  6654.  
  6655.     {bitmap=disk1.bmp}    disk1.bmp\
  6656.  
  6657.     {bitmap=disk2.bmp}    disk2.bmp\
  6658.  
  6659.     {bitmap=exclamat.bmp}    exclamat.bmp\
  6660.  
  6661.     {bitmap=informat.bmp}    informat.bmp\
  6662.  
  6663.     {bitmap=btnprev.bmp}    prev.bmp\
  6664.     {bitmap=btnnext.bmp}    next.bmp\
  6665.  
  6666.     {bitmap=arrow.bmp}    arrow.bmp\
  6667.  
  6668.     {bitmap=point1.bmp}    point1.bmp\
  6669.  
  6670.     {bitmap=point2.bmp}    point2.bmp\
  6671.  
  6672.  
  6673.  
  6674.  
  6675.  
  6676.  
  6677.  
  6678.  
  6679.  
  6680.  
  6681.  
  6682.  
  6683.  
  6684.  
  6685.  
  6686.  
  6687.  
  6688.  
  6689.  
  6690.  
  6691.  
  6692.  
  6693.  
  6694.  
  6695.  
  6696.  
  6697.  
  6698.  
  6699.  
  6700.  
  6701.  
  6702.  
  6703.  
  6704.  
  6705. \end
  6706. 401
  6707. File|WWW Mode
  6708. File|WWW Mode
  6709. WWW Mode
  6710.  
  6711.  
  6712. 0
  6713.  
  6714. 0
  6715.  
  6716.  
  6717. Topic Text -----------------------------
  6718. The EditHelp program creates hypertext files for use with either the Windows 
  6719. Help system or the World-Wide-Web.
  6720.  
  6721. EditHelp can create files in HyperText Markup Language (HTML)  format.
  6722. HTML can be used to represent 
  6723. Hypertext news, mail, online documentation, etc.
  6724. on the World Wide Web using a standard Internet protocol.
  6725. To view an HTML file created by EditHelp, you will need an HTML Browser
  6726. such as 'Mosaic'.
  6727.  
  6728. EditHelp can operate in two modes: 'Windows Help' and 'WWW'. 
  6729.  
  6730. In WWW mode, EditHelp disables several features which are available in Windows Help
  6731. but not in HTML files.
  6732.  
  6733. This Help file describes how EditHelp behaves in the 'Windows Help' mode. 
  6734. To change mode, select the File|WWW Mode command.
  6735.  
  6736. A file created in WWW mode can also be compiled as a Windows Help file.
  6737.  
  6738. See also\
  6739.    {link=200,File|New}\
  6740.    {link=201,File|Open}\
  6741.    {link=202,File|Save}\
  6742.    {link=203,File|Save As}\
  6743.    {link=258,File|Project|New}\
  6744.    {link=2237,File|Project|Open}\
  6745.    {link=259,File|Project|Save}\
  6746.    {link=260,File|Project|SaveAs}\
  6747.    {link=2238,File|Project|Files}\
  6748.    {link=2239,File|Project|Move Topic}\
  6749.    {link=210,File|Save As TXT}\
  6750.    {link=246,File|Save As RTF}\
  6751.    {link=2229,File|Save As WWW}\
  6752.    {link=2217,File|Open EXE}\
  6753.    {link=204,File|Exit}
  6754.  
  6755.  
  6756.  
  6757.  
  6758.  
  6759.  
  6760.  
  6761.  
  6762.  
  6763.  
  6764.  
  6765.  
  6766.  
  6767.  
  6768.  
  6769.  
  6770.  
  6771.  
  6772.  
  6773.  
  6774.  
  6775.  
  6776.  
  6777.  
  6778.  
  6779.  
  6780.  
  6781.  
  6782. \end
  6783. 2236
  6784. Layout|Tab
  6785. Layout|Tab
  6786. Tab
  6787.  
  6788.  
  6789. 0
  6790.  
  6791. 0
  6792.  
  6793.  
  6794. Topic Text -----------------------------
  6795. Tab characters in the {link=107,help source file} (.EDH) will be translated into tabs 
  6796. in the {link=107,Help File} (.HLP).
  6797.  
  6798. Similarly, a tab command:
  6799.  
  6800.     {{}tab}
  6801.  
  6802. will be translated into a tab in the {link=107,Help File.}
  6803.  
  6804. Alternatively, a tab command can specify the tab position:
  6805.  
  6806.     {{}tab=<pos>}
  6807.  
  6808. The tab position, <pos>, is measured from the left edge of the window. The default is 6.
  6809.  
  6810. For instance:
  6811.  
  6812. 1{{}tab}2{{}tab}3{{}tab}4\\
  6813. 1{{}tab=18}2<tab>3<tab>4\\
  6814. 1<tab>2{{}tab=18}3<tab>4\\
  6815. 1<tab>2<tab>3<tab>4\\
  6816.  
  6817. where <tab> is a tab character, is displayed as:
  6818.  
  6819. 1{tab}2{tab}3{tab}4\
  6820. 1{tab=18}2    3    4\
  6821. 1    2{tab=18}3    4\
  6822. 1    2    3    4\
  6823.  
  6824. See also\
  6825.     {link=114,Text Layout}\
  6826.     {link=2220,Layout|Heading}\
  6827.     {link=2224,Layout|List}\
  6828.     {link=240,Layout|Line}\
  6829.     {link=241,Layout|Box}\
  6830.     {link=242,Layout|Centre}\
  6831.     {link=247,Layout|Keep}\
  6832.  
  6833.  
  6834.  
  6835.  
  6836.  
  6837.  
  6838.  
  6839.  
  6840.  
  6841.  
  6842.  
  6843.  
  6844.  
  6845.  
  6846. \end
  6847.